[date] fix issue 6530 (#7399)

This commit is contained in:
Phoebe 2019-07-25 01:20:15 +08:00 committed by Phil Christensen
parent ea9d29c05b
commit 02f5ef72a2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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