diff --git a/ports/span-lite/portfile.cmake b/ports/span-lite/portfile.cmake index fd34b69ca0..fcf8b9210f 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 1227b0a5d0..43526240e3 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 + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 318bbac4d8..8efa2f8b00 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6269,7 +6269,7 @@ "port-version": 5 }, "span-lite": { - "baseline": "0.9.0", + "baseline": "0.10.3", "port-version": 0 }, "sparsehash": { diff --git a/versions/s-/span-lite.json b/versions/s-/span-lite.json index 1de3d322ba..0a15f28bd7 100644 --- a/versions/s-/span-lite.json +++ b/versions/s-/span-lite.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9fdf6960d9eab8dfdd0a03ef8e7d3db09a50defb", + "version": "0.10.3", + "port-version": 0 + }, { "git-tree": "3a97b03dacd5b7fdcec06275cf87a4df933d58a0", "version-string": "0.9.0",