aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/date/CONTROL2
-rw-r--r--ports/date/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/date/CONTROL b/ports/date/CONTROL
index b44b024cd..0489b34d3 100644
--- a/ports/date/CONTROL
+++ b/ports/date/CONTROL
@@ -1,6 +1,6 @@
Source: date
Version: 3.0.0
-Port-Version: 1
+Port-Version: 2
Homepage: https://github.com/HowardHinnant/date
Description: A date and time library based on the C++17 <chrono> header
diff --git a/ports/date/portfile.cmake b/ports/date/portfile.cmake
index 4dd5a40eb..215f1ef2a 100644
--- a/ports/date/portfile.cmake
+++ b/ports/date/portfile.cmake
@@ -31,7 +31,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_cmake_targets(CONFIG_PATH CMake TARGET_PATH share/date)
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/date TARGET_PATH share/date)