aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/gsl-lite/portfile.cmake20
-rw-r--r--ports/gsl-lite/vcpkg.json14
2 files changed, 24 insertions, 10 deletions
diff --git a/ports/gsl-lite/portfile.cmake b/ports/gsl-lite/portfile.cmake
index a37ea6144..63f2488de 100644
--- a/ports/gsl-lite/portfile.cmake
+++ b/ports/gsl-lite/portfile.cmake
@@ -1,18 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gsl-lite/gsl-lite
- REF e1c381746c2625a76227255f999ae9f14a062208
- SHA512 36b7ee945e384f1d425287a780953bf979782aa799547d08fb32e05c4671050278de34d857807de4c7e42b215900457014c49e89b7f330d522609f7cc10d47f8
+ REF d0903fa87ff579c30f608bc363582e6563570342
+ SHA512 f4032404db0073a8ca162e627af8e2741b26a9a251499b0d0009c56ae34b69904d488a4f463c107e40ec495f79b5990c685008979b397d1b670c088ceb4508a0
HEAD_REF master
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
- PREFER_NINJA
)
-
-vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/gsl-lite")
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH "lib/cmake/gsl-lite"
+)
file(WRITE ${CURRENT_PACKAGES_DIR}/include/gsl-lite.hpp "#ifndef GSL_LITE_HPP_VCPKG_COMPAT_HEADER_INCLUDED
#define GSL_LITE_HPP_VCPKG_COMPAT_HEADER_INCLUDED
@@ -25,4 +25,8 @@ file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
)
-file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(INSTALL
+ "${SOURCE_PATH}/LICENSE"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
+ RENAME copyright
+)
diff --git a/ports/gsl-lite/vcpkg.json b/ports/gsl-lite/vcpkg.json
index 543db28de..81a2d445b 100644
--- a/ports/gsl-lite/vcpkg.json
+++ b/ports/gsl-lite/vcpkg.json
@@ -1,6 +1,16 @@
{
"name": "gsl-lite",
- "version": "0.38.1",
+ "version": "0.39.0",
"description": "A single-file header-only implementation of ISO C++ Guidelines Support Library (GSL) for C++98, C++11 and later.",
- "homepage": "https://github.com/gsl-lite/gsl-lite/"
+ "homepage": "https://github.com/gsl-lite/gsl-lite/",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}