1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 22:06:42 +00:00

[Server] Add MP flag to the server if enabled

This commit is contained in:
Koncord 2018-12-29 12:03:01 +08:00
parent a0e89208a0
commit c2230a8a21

View file

@ -154,6 +154,11 @@ add_executable(tes3mp-server
) )
target_compile_options(tes3mp-server PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/permissive->) 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 set_target_properties(tes3mp-server PROPERTIES
CXX_STANDARD 14 CXX_STANDARD 14
CXX_STANDARD_REQUIRED YES CXX_STANDARD_REQUIRED YES