mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Set /MP for specific CMake targets
So that libloot doesn't override the global setting if included as a dependency.
This commit is contained in:
@@ -102,7 +102,7 @@ endif()
|
||||
|
||||
if(MSVC)
|
||||
# Turn off permissive mode to be more standards-compliant and avoid compiler errors.
|
||||
target_compile_options(libloot_tests PRIVATE "/Zc:__cplusplus" "/permissive-" "/W4")
|
||||
target_compile_options(libloot_tests PRIVATE "/Zc:__cplusplus" "/permissive-" "/W4" "/MP")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user