|
|
@ -167,6 +167,7 @@ ENDIF()
|
|
|
|
IF(APPLE)
|
|
|
|
IF(APPLE)
|
|
|
|
FIND_LIBRARY(CARBON_FRAMEWORK Carbon)
|
|
|
|
FIND_LIBRARY(CARBON_FRAMEWORK Carbon)
|
|
|
|
FIND_LIBRARY(FOUNDATION_FRAMEWORK Foundation)
|
|
|
|
FIND_LIBRARY(FOUNDATION_FRAMEWORK Foundation)
|
|
|
|
|
|
|
|
FIND_LIBRARY(SECURITY_FRAMEWORK Security)
|
|
|
|
|
|
|
|
|
|
|
|
IF(APPLE_CERTIFICATE)
|
|
|
|
IF(APPLE_CERTIFICATE)
|
|
|
|
# Find codesign_allocate
|
|
|
|
# Find codesign_allocate
|
|
|
@ -226,22 +227,26 @@ IF(WITH_NEL)
|
|
|
|
IF(CURL_STATIC)
|
|
|
|
IF(CURL_STATIC)
|
|
|
|
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
|
|
|
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
|
|
|
|
|
|
|
|
|
|
|
SET(CURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
|
|
|
|
LIST(APPEND CURL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR})
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
|
|
|
LIST(APPEND CURL_LIBRARIES ${OPENSSL_LIBRARIES})
|
|
|
|
|
|
|
|
|
|
|
|
IF(UNIX)
|
|
|
|
IF(WIN32)
|
|
|
|
|
|
|
|
LIST(APPEND CURL_LIBRARIES Crypt32 Cryptui)
|
|
|
|
|
|
|
|
ELSE()
|
|
|
|
# CURL depends on libidn
|
|
|
|
# CURL depends on libidn
|
|
|
|
FIND_LIBRARY(IDN_LIBRARY idn)
|
|
|
|
FIND_LIBRARY(IDN_LIBRARY idn)
|
|
|
|
IF(IDN_LIBRARY)
|
|
|
|
IF(IDN_LIBRARY)
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY})
|
|
|
|
LIST(APPEND CURL_LIBRARIES ${IDN_LIBRARY})
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
# CURL Macports version depends on libidn, libintl and libiconv too
|
|
|
|
# CURL Macports version depends on libidn, libintl and libiconv too
|
|
|
|
IF(APPLE)
|
|
|
|
IF(APPLE)
|
|
|
|
FIND_LIBRARY(INTL_LIBRARY intl)
|
|
|
|
FIND_LIBRARY(INTL_LIBRARY intl)
|
|
|
|
IF(INTL_LIBRARY)
|
|
|
|
IF(INTL_LIBRARY)
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${INTL_LIBRARY})
|
|
|
|
LIST(APPEND CURL_LIBRARIES ${INTL_LIBRARY})
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIST(APPEND CURL_LIBRARIES ${SECURITY_FRAMEWORK})
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|