[VFD] Build with debug information on debug builds
authorPierre Schweitzer <pierre@reactos.org>
Sat, 16 Dec 2017 20:57:11 +0000 (21:57 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 16 Dec 2017 20:57:11 +0000 (21:57 +0100)
CORE-14090

modules/rosapps/lib/vfdlib/CMakeLists.txt

index 2ceeb8f..b0ff8b9 100644 (file)
@@ -19,6 +19,10 @@ list(APPEND SOURCE
     vfdshutil.cpp
     vfdzip.c)
 
     vfdshutil.cpp
     vfdzip.c)
 
+if(DBG)
+    add_definitions(-D_DEBUG)
+endif()
+
 add_library(vfd SHARED
     ${SOURCE}
     vfdlib.rc
 add_library(vfd SHARED
     ${SOURCE}
     vfdlib.rc