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:
parent
6e62e2fe52
commit
5acd0c23cf
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user