diff --git a/CMakeLists.txt b/CMakeLists.txt index eb0bc26b..f1409fc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -783,6 +783,7 @@ IF(ENABLE_DAP) ADD_DEFINITIONS(-DCURL_STATICLIB=1) INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS}) + LINK_LIBRARIES(${CURL_LIBRARIES}) # Check to see if CURLOPT_USERNAME is defined. # It is present starting version 7.19.1.