]> git.sesse.net Git - vlc/commitdiff
cmake: Define DEBUG.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 17:59:35 +0000 (17:59 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 17:59:35 +0000 (17:59 +0000)
extras/buildsystem/cmake/include/config.cmake

index d65c1d8249514eb381c7dd8f3896b4eb690f26ad..5b3ae7ebed7bb744b4c5c8dc91ad598a0c79cb72 100644 (file)
@@ -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")