From b99e3e45f9b4aa88b2710358646095cebaccd3da Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Thu, 28 Apr 2016 16:57:47 +0000 Subject: [PATCH] properly link the executable against curl, instead of the helper lib --- engine/server/application/LoginServer/src/CMakeLists.txt | 3 +-- external/3rd/library/webAPI/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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(