forked from mirror/openmw-tes3mp
[Server] Add MP flag to the server if enabled
This commit is contained in:
parent
a0e89208a0
commit
c2230a8a21
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue