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:
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->)
|
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
|
||||||
|
|
Loading…
Reference in a new issue