1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Add a DEBUG define when building debug version

This commit is contained in:
Mathieu Schroeter 2017-10-30 17:36:09 +01:00
parent c4c10cb9b4
commit 9681f203f0

View File

@ -54,7 +54,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${STATIC_BUILD}")
endif ()
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3 -DDEBUG")
endif ()
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")