Removed OpenSSL requirement. Curl, if it supports SSL, will pull it in.

Tested on Ubuntu so far
This commit is contained in:
Darrell Wright 2017-11-26 15:44:22 -05:00 committed by Howard Hinnant
parent 080df4988f
commit f3741d68ff

View File

@ -21,10 +21,9 @@ else( )
add_definitions( -DHAS_REMOTE_API=1 ) add_definitions( -DHAS_REMOTE_API=1 )
add_definitions( -DUSE_OS_TZDB=0 ) add_definitions( -DUSE_OS_TZDB=0 )
find_package( CURL REQUIRED ) find_package( CURL REQUIRED )
find_package( OpenSSL REQUIRED ) include_directories( SYSTEM )
include_directories( SYSTEM ${OPENSSL_INCLUDE_DIR} )
include_directories( SYSTEM ${CURL_INCLUDE_DIRS} ) include_directories( SYSTEM ${CURL_INCLUDE_DIRS} )
set( OPTIONAL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ) set( OPTIONAL_LIBRARIES ${CURL_LIBRARIES} )
endif( ) endif( )
if( USE_TZ_DB_IN_DOT ) if( USE_TZ_DB_IN_DOT )