diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a0af4815..7b359964a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,6 +315,8 @@ if(REQUIRE_CURL) if(USE_SHARED_CURL) find_package(CURL REQUIRED) else() + set(CURL_FOUND 1) + set(CURL_LIBRARY libcurl) set(CURL_LIBRARIES libcurl) set(CURL_INCLUDE_DIRS ${CURL_DIR}/include) endif()