mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-22 12:47:45 +00:00

Going forward it will be alot easier to maintain. TODO: simplify path definitions Conflicts: src/servers/Server_Lobby/CMakeLists.txt src/servers/Server_REST/CMakeLists.txt src/servers/Server_Zone/CMakeLists.txt
17 lines
473 B
CMake
17 lines
473 B
CMake
|
|
if(UNIX)
|
|
include_directories("/usr/include/mysql/")
|
|
else()
|
|
include_directories("${LIBRARY_DIR}/external/MySQL/")
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
# 32 bit link
|
|
link_directories(${LIBRARY_DIR}/external/MySQL/x86)
|
|
link_directories(${LIBRARY_DIR}/external/zlib/x86)
|
|
else()
|
|
# 64 bit link
|
|
link_directories(${LIBRARY_DIR}/external/MySQL/x64)
|
|
link_directories(${LIBRARY_DIR}/external/zlib/x64)
|
|
endif()
|
|
endif()
|
|
|
|
|