diff options
| author | chausner <15180557+chausner@users.noreply.github.com> | 2021-10-06 01:11:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-05 16:11:01 -0700 |
| commit | 14644061a8076851c128fe41d7ade6fcbdeacba3 (patch) | |
| tree | 532881ff1f11236c52e818ea96f4ba698e5cf09c /ports | |
| parent | d9333c2143d12c291404b04a67240f2490b4b50c (diff) | |
| download | vcpkg-14644061a8076851c128fe41d7ade6fcbdeacba3.tar.gz vcpkg-14644061a8076851c128fe41d7ade6fcbdeacba3.zip | |
[span-lite] Update to 0.10.3 (#20499)
* Update span-lite to 0.10.3
* Update CI baseline
Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/span-lite/portfile.cmake | 21 | ||||
| -rw-r--r-- | ports/span-lite/vcpkg.json | 14 |
2 files changed, 22 insertions, 13 deletions
diff --git a/ports/span-lite/portfile.cmake b/ports/span-lite/portfile.cmake index fd34b69ca..fcf8b9210 100644 --- a/ports/span-lite/portfile.cmake +++ b/ports/span-lite/portfile.cmake @@ -1,29 +1,28 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/span-lite
- REF v0.9.0
- SHA512 e7d8a5f2e85b4aa7dc148c5a17898729bafa6124affacf66280eaa74c6aad5a4c9a9231e664f95392aa4edb784eaf3e2e3e03d34914c90565b9026744d7f7276
+ REF v0.10.3 + SHA512 001259FEC3F043391D8C00D858841823F7F88B56884AE73FA0D08F71CD35FAC636DDCC323FE5AAA7E680BDE6092E693F810DA821E8E3ADE29C6D73ED46DB3609 )
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DSPAN_LITE_OPT_BUILD_TESTS=OFF
-DSPAN_LITE_OPT_BUILD_EXAMPLES=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(
- CONFIG_PATH lib/cmake/${PORT}
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH "lib/cmake/${PORT}"
)
file(REMOVE_RECURSE
- ${CURRENT_PACKAGES_DIR}/debug
- ${CURRENT_PACKAGES_DIR}/lib
+ "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL
- ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
+ "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
)
diff --git a/ports/span-lite/vcpkg.json b/ports/span-lite/vcpkg.json index 1227b0a5d..43526240e 100644 --- a/ports/span-lite/vcpkg.json +++ b/ports/span-lite/vcpkg.json @@ -1,6 +1,16 @@ { "name": "span-lite", - "version-string": "0.9.0", + "version": "0.10.3", "description": "A C++20-like span for C++98, C++11 and later in a single-file header-only library", - "homepage": "https://github.com/martinmoene/span-lite" + "homepage": "https://github.com/martinmoene/span-lite", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } |
