mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-26 07:53:16 +08:00
313189b0a8
Fixes: #599
12 lines
353 B
CMake
12 lines
353 B
CMake
include( CMakeFindDependencyMacro )
|
|
include( "${CMAKE_CURRENT_LIST_DIR}/dateTargets.cmake" )
|
|
if( NOT MSVC AND TARGET date::date-tz )
|
|
find_dependency( Threads REQUIRED)
|
|
get_target_property( _tzill date::date-tz INTERFACE_LINK_LIBRARIES )
|
|
if( _tzill AND "${_tzill}" MATCHES "libcurl" )
|
|
find_dependency( CURL )
|
|
endif( )
|
|
endif( )
|
|
|
|
|