1
Fork 0
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:
Mordred 2018-10-26 19:22:31 +02:00
parent 423e54d7ec
commit b33f116422
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View file

@ -18,7 +18,10 @@ set_target_properties(sapphire_api PROPERTIES
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
)
target_link_libraries( sapphire_api common )
target_link_libraries( sapphire_api common )
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()