aboutsummaryrefslogtreecommitdiff
path: root/ports/date
diff options
context:
space:
mode:
Diffstat (limited to 'ports/date')
-rw-r--r--ports/date/CMakeLists.txt6
-rw-r--r--ports/date/CONTROL2
-rw-r--r--ports/date/portfile.cmake6
3 files changed, 7 insertions, 7 deletions
diff --git a/ports/date/CMakeLists.txt b/ports/date/CMakeLists.txt
index 91fcab1c7..c1efc4e2a 100644
--- a/ports/date/CMakeLists.txt
+++ b/ports/date/CMakeLists.txt
@@ -8,9 +8,9 @@ endif()
add_definitions(-DNOMINMAX)
-include_directories(".")
+include_directories("./include")
-add_library(tz tz.cpp)
+add_library(tz src/tz.cpp)
if(BUILD_SHARED_LIBS)
target_compile_definitions(tz PRIVATE -DDATE_BUILD_DLL)
@@ -26,5 +26,5 @@ install(
)
if(NOT DISABLE_INSTALL_HEADERS)
- install(FILES date.h tz.h julian.h iso_week.h islamic.h DESTINATION include)
+ install(FILES include/date/date.h include/date/tz.h include/date/julian.h include/date/iso_week.h include/date/islamic.h DESTINATION include/date)
endif()
diff --git a/ports/date/CONTROL b/ports/date/CONTROL
index 8eab618c2..68fb435b6 100644
--- a/ports/date/CONTROL
+++ b/ports/date/CONTROL
@@ -1,3 +1,3 @@
Source: date
-Version: 2.2
+Version: 2.3-c286981b3bf83c79554769df68b27415cee68d77
Description: A date and time library based on the C++11/14/17 <chrono> header
diff --git a/ports/date/portfile.cmake b/ports/date/portfile.cmake
index f73c72b52..a5270554f 100644
--- a/ports/date/portfile.cmake
+++ b/ports/date/portfile.cmake
@@ -8,8 +8,8 @@ message(WARNING
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO HowardHinnant/date
- REF 272d487b3d490126e520b67fe76bbb2e67226c07
- SHA512 59e8ff642d3eb82cb6116a77d4c5e14bbc2ae6bd4019e64a49609b6e46d679c2cb4ccae74807b72223aed18ae015596193919cdb58b011bfb774ff3e29a1d43b
+ REF c286981b3bf83c79554769df68b27415cee68d77
+ SHA512 226e2cbc2598fbbe3a451664b017ab5b4314a682a9303268bd531931ea23baa4c9677c4433a87dbbc4a7d960dcfad1fcb632ac430d5d81c9909bcc567cf7eadf
HEAD_REF master
)
@@ -25,7 +25,7 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
-set(HEADER "${CURRENT_PACKAGES_DIR}/include/tz.h")
+set(HEADER "${CURRENT_PACKAGES_DIR}/include/date/tz.h")
file(READ "${HEADER}" _contents)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
string(REPLACE "DATE_BUILD_DLL" "1" _contents "${_contents}")