CMakeLists.txt: fix enabling verbose debug output
[libam7xxx.git] / 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
-    -ggdb)
+    -ggdb
+    -DDEBUG=1)
 
   add_flags(RELEASE_FLAGS
     -Wp,-D_FORTIFY_SOURCE=2)