[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36853] trunk/blender/CMakeLists.txt: fix for option WITH_CXX_GUARDEDALLOC with msvc
Campbell Barton
ideasman42 at gmail.com
Tue May 24 08:44:39 CEST 2011
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)
More information about the Bf-blender-cvs
mailing list