Revision: 36853 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36853 Author: campbellbarton Date: 2011-05-24 06:44:39 +0000 (Tue, 24 May 2011) Log Message: ----------- fix for option WITH_CXX_GUARDEDALLOC with msvc
Modified Paths: -------------- trunk/blender/CMakeLists.txt Modified: trunk/blender/CMakeLists.txt =================================================================== --- trunk/blender/CMakeLists.txt 2011-05-24 05:59:14 UTC (rev 36852) +++ trunk/blender/CMakeLists.txt 2011-05-24 06:44:39 UTC (rev 36853) @@ -1132,9 +1132,9 @@ #------------------------------------------------------------------------------- # Global Defines -# better not define flags here but this is a debugging option thats off by default. +# better not set includes here but this debugging option is off by default. if(WITH_CXX_GUARDEDALLOC) - set(CMAKE_CXX_FLAGS " -DWITH_CXX_GUARDEDALLOC -I${CMAKE_SOURCE_DIR}/intern/guardedalloc ${CMAKE_CXX_FLAGS}") + include_directories(${CMAKE_SOURCE_DIR}/intern/guardedalloc) endif() if(WITH_ASSERT_ABORT) _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs