]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
define _DEBUG for debug builds (cherry picked from commit 3e261c022623306d4dba0cb11fa...
authorFrank Osterfeld <frank@kdab.net>
Thu, 30 Apr 2009 09:02:07 +0000 (10:02 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 30 Nov 2009 12:43:19 +0000 (13:43 +0100)
cmake/CMakeLists.txt

index 28d8d5691105a24119859ad70f674b9151f042e4..d4b2629499d2ce799b42c5bff228eb42fbb6cbb3 100644 (file)
@@ -110,6 +110,8 @@ if(WIN32)
   set (CMAKE_DEBUG_POSTFIX "d")
 endif(WIN32)
 
+SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}  -D_DEBUG")
+
 #########################################################################
 # Windows CE
 #