CMakeLists: re-enable the debug define.

This commit is contained in:
Guillaume Jacquemin 2024-07-12 15:08:06 +02:00
parent 90a67f30d9
commit c0bf16144f
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -239,6 +239,10 @@ target_compile_definitions(MassBuilderSaveTool PRIVATE
SAVETOOL_SUPPORTED_GAME_VERSION="0.10.x"
)
if(CMAKE_BUILD_TYPE STREQUAL Debug)
target_compile_definitions(MassBuilderSaveTool PRIVATE SAVETOOL_DEBUG_BUILD)
endif()
if(CMAKE_BUILD_TYPE STREQUAL Release)
set_target_properties(MassBuilderSaveTool PROPERTIES OUTPUT_NAME MassBuilderSaveTool-${SAVETOOL_PROJECT_VERSION})
endif()