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
1 changed files with 5 additions and 3 deletions

View File

@ -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