fix for option WITH_CXX_GUARDEDALLOC with msvc
This commit is contained in:
parent
e1a7ecb5ae
commit
2ccdcca7f5
@ -1132,9 +1132,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS} ${CXX_WARNINGS}")
|
|||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Global Defines
|
# 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)
|
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()
|
endif()
|
||||||
|
|
||||||
if(WITH_ASSERT_ABORT)
|
if(WITH_ASSERT_ABORT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user