CMakeLists.txt: fix enabling verbose debug output
authorAntonio Ospite <ospite@studenti.unina.it>
Sun, 26 May 2013 21:53:13 +0000 (23:53 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sun, 26 May 2013 21:53:13 +0000 (23:53 +0200)
In 024af793fa6d6af644c225804d140cc13aa56307 the definition -DDEBUG=1 got
lost, add it back.

CMakeLists.txt

index 89f0437..8264845 100644 (file)
@@ -69,7 +69,8 @@ if (CMAKE_COMPILER_IS_GNUCC)
     --param=ssp-buffer-size=4)
 
   add_flags(DEBUG_FLAGS
     --param=ssp-buffer-size=4)
 
   add_flags(DEBUG_FLAGS
-    -ggdb)
+    -ggdb
+    -DDEBUG=1)
 
   add_flags(RELEASE_FLAGS
     -Wp,-D_FORTIFY_SOURCE=2)
 
   add_flags(RELEASE_FLAGS
     -Wp,-D_FORTIFY_SOURCE=2)