mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Compile C++ code with /MP on MSVC
This reduces the build time from 32.8s to 28.6s for clean builds on my PC.
This commit is contained in:
@@ -20,6 +20,10 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options("/MP")
|
||||
endif()
|
||||
|
||||
##############################
|
||||
# External Projects
|
||||
##############################
|
||||
|
||||
Reference in New Issue
Block a user