2 if(CURL_INCLUDE_DIR AND CURL_LIBRARY)
3 # Already in cache, be silent
4 set(CURL_FIND_QUIETLY TRUE)
5 endif(CURL_INCLUDE_DIR AND CURL_LIBRARY)
10 FIND_PATH(CURL_INCLUDE_DIR curl/curl.h
15 FIND_LIBRARY(CURL_LIBRARY NAMES curl
21 if(CURL_INCLUDE_DIR AND CURL_LIBRARY)
22 MESSAGE( STATUS "curl found: includes in ${CURL_INCLUDE_DIR}, library in ${CURL_LIBRARY}")
24 else(CURL_INCLUDE_DIR AND CURL_LIBRARY)
25 MESSAGE( STATUS "curl not found")
26 endif(CURL_INCLUDE_DIR AND CURL_LIBRARY)
28 MARK_AS_ADVANCED(CURL_INCLUDE_DIR CURL_LIBRARY)