1
0
mirror of synced 2024-11-24 15:50:16 +01:00

build: Properly define DEBUG macro again in debug mode

This commit is contained in:
WerWolv 2022-02-19 18:02:10 +01:00
parent 08da408471
commit 05104aef6c

View File

@ -25,6 +25,7 @@ macro(addVersionDefines)
set(IMHEX_VERSION_STRING ${IMHEX_VERSION})
elseif (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(IMHEX_VERSION_STRING ${IMHEX_VERSION}-Debug)
add_compile_definitions(DEBUG)
elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
set(IMHEX_VERSION_STRING ${IMHEX_VERSION}-RelWithDebInfo)
elseif (CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")