Buildsystem/Windows: Enable multihreaded compiling on MSVC > version 7 (report issues if any) - thanks to Leak for the heads up
--HG-- branch : trunk
This commit is contained in:
1 parent
66fcd52106
commit
a4af5d5567
1 file changed
+2
@@ -288,6 +288,8 @@ if( MSVC )
|
||||
if(CMAKE_SIZEOF_VOID_P MATCHES 4)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||
endif()
|
||||
# Multithreaded compiling on VS
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
endif()
|
||||
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user