Oh cmake. You so silly. VS2010 wchar_t fix

This commit is contained in:
Shyotl
2011-03-17 00:37:18 -05:00
parent 40c0a8d210
commit 77b5ac28e6

View File

@@ -65,7 +65,7 @@ if (WINDOWS)
/Oy-
)
if(MSVC80 OR MSVC90 OR MSVC100)
if(MSVC80 OR MSVC90 OR MSVC10)
set(CMAKE_CXX_FLAGS_RELEASE
"${CMAKE_CXX_FLAGS_RELEASE} -D_SECURE_STL=0 -D_HAS_ITERATOR_DEBUGGING=0"
CACHE STRING "C++ compiler release options" FORCE)
@@ -78,7 +78,7 @@ if (WINDOWS)
add_definitions(
/Zc:wchar_t-
)
endif (MSVC80 OR MSVC90 OR MSVC100)
endif (MSVC80 OR MSVC90 OR MSVC10)
# Are we using the crummy Visual Studio KDU build workaround?
if (NOT VS_DISABLE_FATAL_WARNINGS)