mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
ENH: fix build with ssl
This commit is contained in:
parent
6dd0277c22
commit
b4dcbbfabd
@ -816,7 +816,7 @@ function(SETUP_CURL_DEPENDENCIES TARGET_NAME)
|
|||||||
if(CMAKE_USE_OPENSSL AND OPENSSL_FOUND)
|
if(CMAKE_USE_OPENSSL AND OPENSSL_FOUND)
|
||||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
endif()
|
endif()
|
||||||
if(CURL_SSL AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
if(CMAKE_USE_OPENSSL AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
||||||
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES})
|
||||||
#ADD_DEFINITIONS( -DUSE_SSLEAY )
|
#ADD_DEFINITIONS( -DUSE_SSLEAY )
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user