From 8099a8696a69a7c6b4a9ef810ccab64b480e0d7b Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 9 Nov 2013 17:35:32 +0000 Subject: [PATCH] added mac ports folder for curl to find it --- mk/cmake/Modules/FindCURL.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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