Merging r48257 through r48263 from trunk into soc-2011-tomato
[blender.git] / CMakeLists.txt
index 0aa3b1dad209c99828378f6557c276790c6829b0..65a2894b4226bdfbaaaed6721accab9589c0e7e1 100644 (file)
@@ -1766,6 +1766,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS} ${CXX_WARNINGS}")
 # better not set includes here but this debugging option is off by default.
 if(WITH_CXX_GUARDEDALLOC)
        include_directories(${CMAKE_SOURCE_DIR}/intern/guardedalloc)
+       add_definitions(-DWITH_CXX_GUARDEDALLOC)
 endif()
 
 if(WITH_ASSERT_ABORT)