mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 08:31:03 +08:00
fc4cf092f9
* Fix cmake install for 3.14 or earlier (3.7 min) Fixes: #504, #505 * Add find_dependency to config file FIXES: #514
12 lines
343 B
CMake
12 lines
343 B
CMake
include( CMakeFindDependencyMacro )
|
|
include( "${CMAKE_CURRENT_LIST_DIR}/dateTargets.cmake" )
|
|
if( NOT MSVC AND TARGET date::tz )
|
|
find_dependency( Threads REQUIRED)
|
|
get_target_property( _tzill date::tz INTERFACE_LINK_LIBRARIES )
|
|
if( _tzill AND "${_tzill}" MATCHES "libcurl" )
|
|
find_dependency( CURL )
|
|
endif( )
|
|
endif( )
|
|
|
|
|