mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:32:04 +08:00
6718a4a703
* [date] Fix config.cmake and usage * Correct fix * Remove wrapper and usage
16 lines
621 B
Diff
16 lines
621 B
Diff
diff --git a/cmake/dateConfig.cmake b/cmake/dateConfig.cmake
|
|
index 20f86e8..2198ad1 100644
|
|
--- a/cmake/dateConfig.cmake
|
|
+++ b/cmake/dateConfig.cmake
|
|
@@ -1,8 +1,8 @@
|
|
include( CMakeFindDependencyMacro )
|
|
include( "${CMAKE_CURRENT_LIST_DIR}/dateTargets.cmake" )
|
|
-if( NOT MSVC AND TARGET date::tz )
|
|
+if( NOT MSVC AND TARGET date::date-tz )
|
|
find_dependency( Threads REQUIRED)
|
|
- get_target_property( _tzill date::tz INTERFACE_LINK_LIBRARIES )
|
|
+ get_target_property( _tzill date::date-tz INTERFACE_LINK_LIBRARIES )
|
|
if( _tzill AND "${_tzill}" MATCHES "libcurl" )
|
|
find_dependency( CURL )
|
|
endif( )
|