Commit f2effed0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Define DEBUG.

parent 8e64cfd2
......@@ -41,6 +41,7 @@ endif(NOT CMAKE_BUILD_TYPE )
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DEBUG ON)
add_declarations(-DDEBUG=1)
set(NDEBUG OFF)
endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment