Skip to content

Commit 95f97c5

Browse files
Zegeriq4a
authored andcommitted
Activate DEBUG when CMAKE_BUILD_TYPE=Debug
1 parent 1cbd1e7 commit 95f97c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ set(LUA_LIBRARIES luajit)
3030
if(NOT CMAKE_BUILD_TYPE)
3131
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
3232
elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
33+
add_definitions(-DDEBUG)
3334
set(LUA_LIBRARIES luajit-debug)
3435
endif()
3536

0 commit comments

Comments
 (0)