mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
Hopefully last CI fix attempt
This commit is contained in:
parent
d951a1be46
commit
e6c473c3ed
4 changed files with 14 additions and 6 deletions
|
@ -5,6 +5,7 @@ if(UNIX)
|
|||
else()
|
||||
add_definitions(-D_WIN32_WINNT=0x601)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
add_definitions(-DNOMINMAX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHc")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
|
||||
|
|
|
@ -18,5 +18,7 @@ set_target_properties(sapphire_api PROPERTIES
|
|||
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
)
|
||||
|
||||
target_link_libraries (sapphire_api common stdc++fs)
|
||||
|
||||
target_link_libraries( sapphire_api common )
|
||||
if( UNIX )
|
||||
target_link_libraries( sapphire_api stdc++fs )
|
||||
endif()
|
||||
|
|
|
@ -19,10 +19,14 @@ set_target_properties( sapphire_lobby
|
|||
RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
)
|
||||
|
||||
target_link_libraries( sapphire_lobby
|
||||
PRIVATE
|
||||
common
|
||||
common )
|
||||
if( UNIX )
|
||||
target_link_libraries( sapphire_lobby
|
||||
PRIVATE
|
||||
stdc++fs )
|
||||
|
||||
endif()
|
||||
|
||||
#cotire( sapphire_lobby )
|
||||
|
|
|
@ -35,11 +35,12 @@ set_target_properties(sapphire_zone PROPERTIES
|
|||
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
)
|
||||
|
||||
target_link_libraries( sapphire_zone PUBLIC common stdc++fs )
|
||||
|
||||
target_link_libraries( sapphire_zone PUBLIC common )
|
||||
target_include_directories( sapphire_zone PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}" )
|
||||
|
||||
|
||||
if (UNIX)
|
||||
# cotire( sapphire_zone )
|
||||
target_link_libraries( sapphire_zone PUBLIC stdc++fs )
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue