diff options
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b240f8a4ba..3579afcb1f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() # |
