From: Bill Hoffman Date: Wed, 15 Jul 2009 21:30:46 +0000 (+0000) Subject: ENH: fix build with ssl X-Git-Tag: upstream/7.37.1~6010 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4dcbbfabdbd457b181890991810c2ea6b10024f;p=platform%2Fupstream%2Fcurl.git ENH: fix build with ssl --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cf9d0d5..1ae82ce 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()