Enable multi-processor compilation on Visual Studio (faster)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5acd0c23cf
commit
1b76d5d04d
@ -72,6 +72,8 @@ endif()
|
||||
if(APPLE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch i386")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks")
|
||||
elseif(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") # Enable multi-processor compilation (faster)
|
||||
endif()
|
||||
|
||||
# OpenAL
|
||||
|
Loading…
Reference in New Issue
Block a user