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:
Oliver Hamlet
2025-08-01 18:19:48 +01:00
parent 67b50ee8d9
commit 2b59b6f76a
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -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()