mirror of https://github.com/WerWolv/ImHex.git
build: Properly define DEBUG macro again in debug mode
This commit is contained in:
parent
08da408471
commit
05104aef6c
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue