Fixed windows build with the latest cmake

This commit is contained in:
Latif Khalifa
2013-04-06 17:59:42 +02:00
parent fc4fcc9450
commit 59a7c1cd9c

View File

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