From e07ae52aedcd0b9e83ae47edec2ee3f135092aa9 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 22 Jun 2010 05:42:01 +0000 Subject: [PATCH] Oops, we need to tell the compiler to set the DEBUG macro flag. --- fastlib/trunk/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlib/trunk/CMakeLists.txt b/fastlib/trunk/CMakeLists.txt index 9f7f2b8ccb..ce4d130eb4 100644 --- a/fastlib/trunk/CMakeLists.txt +++ b/fastlib/trunk/CMakeLists.txt @@ -29,8 +29,8 @@ if(WITH_SPARSE) endif(WITH_SPARSE) if(DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -DDEBUG") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -DDEBUG") endif(DEBUG) # ensure we are only using one of the SCALE_x options