diff --git a/engine/server/application/LoginServer/src/CMakeLists.txt b/engine/server/application/LoginServer/src/CMakeLists.txt index 2ca54d51..80a0989a 100644 --- a/engine/server/application/LoginServer/src/CMakeLists.txt +++ b/engine/server/application/LoginServer/src/CMakeLists.txt @@ -118,8 +118,6 @@ add_executable(LoginServer ${PLATFORM_SOURCES} ) -link_directories(${SWG_EXTERNALS_SOURCE_DIR}/3rd/library/webAPI) - target_link_libraries(LoginServer sharedCommandParser sharedCompression @@ -154,5 +152,6 @@ target_link_libraries(LoginServer LoginAPI MonAPI2 webAPI + ${CURL_LIBRARIES} ${CMAKE_DL_LIBS} ) diff --git a/external/3rd/library/webAPI/CMakeLists.txt b/external/3rd/library/webAPI/CMakeLists.txt index 7eacf57b..550f0b6d 100644 --- a/external/3rd/library/webAPI/CMakeLists.txt +++ b/external/3rd/library/webAPI/CMakeLists.txt @@ -8,7 +8,6 @@ add_library(webAPI webAPI.h webAPI.cpp json.hpp - ${CURL_LIBRARIES} ) include_directories(