Fix VS2012 64-bit debug build

This commit is contained in:
Siana Gearz
2014-05-09 22:14:47 +02:00
parent 78a0b347fc
commit 484108dafc

View File

@@ -54,6 +54,11 @@ if (WINDOWS)
# Remove default /Zm1000 flag that cmake inserts
string (REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
if (MSVC11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm140")
endif (MSVC11)
# Don't build DLLs.
set(BUILD_SHARED_LIBS OFF)