[Server] Add MP flag to the server if enabled

experimental-mono
Koncord 6 years ago
parent a0e89208a0
commit c2230a8a21

@ -154,6 +154,11 @@ add_executable(tes3mp-server
)
target_compile_options(tes3mp-server PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/permissive->)
if (OPENMW_MP_BUILD)
target_compile_options(tes3mp-server PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/MP>)
endif()
set_target_properties(tes3mp-server PROPERTIES
CXX_STANDARD 14
CXX_STANDARD_REQUIRED YES

Loading…
Cancel
Save