Fix compiler warning in MSVC CMake-generated project files

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
funto66 2013-10-21 02:04:57 +00:00
parent 6e62e2fe52
commit 5acd0c23cf

View File

@ -15,7 +15,7 @@ endif()
add_definitions(-DNDEBUG=1 -DIRRLICHT_EXPORTS=1 -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES)
if(MSVC)
add_definitions(/D_IRR_STATIC_LIB_)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" /MTd)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MTd")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -I/usr/X11R6/include")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -I/usr/X11R6/include")