https://git.reactos.org/?p=reactos.git;a=commitdiff;h=753d87468c8f5e350d34b…
commit 753d87468c8f5e350d34bb48141493698ae65e8c
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Dec 16 21:57:11 2017 +0100
[VFD] Build with debug information on debug builds
CORE-14090
---
modules/rosapps/lib/vfdlib/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/rosapps/lib/vfdlib/CMakeLists.txt
b/modules/rosapps/lib/vfdlib/CMakeLists.txt
index 2ceeb8f41f..b0ff8b9e7c 100644
--- a/modules/rosapps/lib/vfdlib/CMakeLists.txt
+++ b/modules/rosapps/lib/vfdlib/CMakeLists.txt
@@ -19,6 +19,10 @@ list(APPEND SOURCE
vfdshutil.cpp
vfdzip.c)
+if(DBG)
+ add_definitions(-D_DEBUG)
+endif()
+
add_library(vfd SHARED
${SOURCE}
vfdlib.rc