1 if(VCPKG_TARGET_IS_WINDOWS)
3 "You will need to also install https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml into your install location.\n"
4 "See https://howardhinnant.github.io/date/tz.html"
9 OUT_SOURCE_PATH SOURCE_PATH
10 REPO HowardHinnant/date
11 REF cac99da8dc88be719a728dc1b597b0ac307c1800 #3.0.0
12 SHA512 07bac40c9d92ed92f05ab71b07c203fc341cd35999f1eab16d584bf77ff69e2cdc106931b2faf0dcfc5a311ee55e8445a81fd97c62f4672957b6aac1b24a08fd
16 0002-fix-cmake-3.14.patch
17 0003-find-dependency-pthread.patch
19 vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
21 remote-api USE_SYSTEM_TZ_DB
24 vcpkg_configure_cmake(
25 SOURCE_PATH ${SOURCE_PATH}
34 if(VCPKG_TARGET_IS_WINDOWS)
35 vcpkg_fixup_cmake_targets(CONFIG_PATH CMake TARGET_PATH share/date)
37 vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/date TARGET_PATH share/date)
42 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
44 file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/date RENAME copyright)