added mac ports folder for curl to find it

This commit is contained in:
Mark Vejvoda 2013-11-09 17:35:32 +00:00
parent 7f94eb215b
commit 8099a8696a

View File

@ -6,13 +6,15 @@
# CURL_FOUND - True if curl found. # CURL_FOUND - True if curl found.
# Look for the header file. # 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) MARK_AS_ADVANCED(CURL_INCLUDE_DIR)
# Look for the library. # Look for the library.
FIND_LIBRARY(CURL_LIBRARY NAMES curl curl-gnutls FIND_LIBRARY(CURL_LIBRARY NAMES curl curl-gnutls
PATHS "/usr/local/lib/" PATHS /usr/local/lib/
"/opt/local/") /opt/local/lib/)
MARK_AS_ADVANCED(CURL_LIBRARY) MARK_AS_ADVANCED(CURL_LIBRARY)
# handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE if # handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE if