summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-15 21:30:46 +0000
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-15 21:30:46 +0000
commitb4dcbbfabdbd457b181890991810c2ea6b10024f (patch)
treeba01389ca5d8d9e60cd544f414962e83c96678a1 /CMakeLists.txt
parent6dd0277c22374983e9f9b0c22ebada72625973a9 (diff)
downloadcurl-b4dcbbfabdbd457b181890991810c2ea6b10024f.tar.gz
ENH: fix build with ssl
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cf9d0d585..1ae82ceb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -816,7 +816,7 @@ function(SETUP_CURL_DEPENDENCIES TARGET_NAME)
if(CMAKE_USE_OPENSSL AND OPENSSL_FOUND)
include_directories(${OPENSSL_INCLUDE_DIR})
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})
#ADD_DEFINITIONS( -DUSE_SSLEAY )
endif()