mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-28 01:04:54 +08:00
Removed OpenSSL requirement. Curl, if it supports SSL, will pull it in.
Tested on Ubuntu so far
This commit is contained in:
parent
080df4988f
commit
f3741d68ff
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user