diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 10:44:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 10:44:39 +0400 |
commit | 2ccdcca7f5ed5af1ab416dd7900299cb35e29536 (patch) | |
tree | ed3cdc2ab1846492e15cbfdfd59b1b376728e923 | |
parent | e1a7ecb5ae81dbfe550ec5dde77273ddf2b7c7f3 (diff) |
fix for option WITH_CXX_GUARDEDALLOC with msvc
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a8fc301906f..0f140d537d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1132,9 +1132,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS} ${CXX_WARNINGS}") #------------------------------------------------------------------------------- # 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) |