aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-07-25 01:20:15 +0800
committerPhil Christensen <philc@microsoft.com>2019-07-24 10:20:15 -0700
commit02f5ef72a2f064dadcb726cdcfdeabb4e0f11cc0 (patch)
tree48146de3620c3d250f99b3755ea0996c99c79b83
parentea9d29c05b110f203184eb4602b23325557de9c3 (diff)
downloadvcpkg-02f5ef72a2f064dadcb726cdcfdeabb4e0f11cc0.tar.gz
vcpkg-02f5ef72a2f064dadcb726cdcfdeabb4e0f11cc0.zip
[date] fix issue 6530 (#7399)
-rw-r--r--ports/date/CMakeLists.txt2
-rw-r--r--ports/date/CONTROL2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/date/CMakeLists.txt b/ports/date/CMakeLists.txt
index 292c1758a..bacbf2716 100644
--- a/ports/date/CMakeLists.txt
+++ b/ports/date/CMakeLists.txt
@@ -18,8 +18,8 @@ target_include_directories(tz PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DI
if(HAS_REMOTE_API)
find_package(CURL REQUIRED)
- target_link_libraries(tz PUBLIC $<BUILD_INTERFACE:${CURL_LIBRARIES}>)
target_include_directories(tz PUBLIC $<BUILD_INTERFACE:${CURL_INCLUDE_DIRS}>)
+ target_link_libraries(tz PUBLIC ${CURL_LIBRARIES})
endif()
if(BUILD_SHARED_LIBS)
diff --git a/ports/date/CONTROL b/ports/date/CONTROL
index 93f4b37cd..03cd721cb 100644
--- a/ports/date/CONTROL
+++ b/ports/date/CONTROL
@@ -1,5 +1,5 @@
Source: date
-Version: ed0368f
+Version: 2019-05-18-1
Homepage: https://github.com/HowardHinnant/date
Description: A date and time library based on the C++11/14/17 <chrono> header