added mac ports folder for curl to find it
This commit is contained in:
parent
7f94eb215b
commit
8099a8696a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user