mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 16:17:46 +00:00
Add mysql linking too
This commit is contained in:
parent
423e54d7ec
commit
b33f116422
2 changed files with 5 additions and 2 deletions
BIN
bin/zlib1.dll
BIN
bin/zlib1.dll
Binary file not shown.
|
@ -18,7 +18,10 @@ set_target_properties(sapphire_api PROPERTIES
|
||||||
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries( sapphire_api common )
|
target_link_libraries( sapphire_api common )
|
||||||
if( UNIX )
|
if( UNIX )
|
||||||
target_link_libraries( sapphire_api stdc++fs )
|
target_link_libraries( sapphire_api mysqlclient stdc++fs )
|
||||||
|
|
||||||
|
else()
|
||||||
|
target_link_libraries( sapphire_api mysql )
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue