diff --git a/mk/cmake/Modules/FindCURL.cmake b/mk/cmake/Modules/FindCURL.cmake index 23142b393..1537cf9e9 100644 --- a/mk/cmake/Modules/FindCURL.cmake +++ b/mk/cmake/Modules/FindCURL.cmake @@ -6,13 +6,15 @@ # CURL_FOUND - True if curl found. # Look for the header file. -FIND_PATH(CURL_INCLUDE_DIR NAMES curl/curl.h) +FIND_PATH(CURL_INCLUDE_DIR NAMES curl/curl.h + PATHS /usr/local/include/ + /opt/local/include/) MARK_AS_ADVANCED(CURL_INCLUDE_DIR) # Look for the library. FIND_LIBRARY(CURL_LIBRARY NAMES curl curl-gnutls - PATHS "/usr/local/lib/" - "/opt/local/") + PATHS /usr/local/lib/ + /opt/local/lib/) MARK_AS_ADVANCED(CURL_LIBRARY) # handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE if