diff --git a/ports/string-view-lite/portfile.cmake b/ports/string-view-lite/portfile.cmake index 95e18d68a0..007185ffbf 100644 --- a/ports/string-view-lite/portfile.cmake +++ b/ports/string-view-lite/portfile.cmake @@ -1,29 +1,28 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO martinmoene/string-view-lite - REF v1.3.0 - SHA512 52fb76198249ade5352d95af4a4e305b3e22b464a5d0a702e4b2228b1ca30df98b90bb01d5bfd16ae6ebb7bab5aecac5bd4a867898c362e82e57c2aaf938e07a + REF v1.6.0 + SHA512 a21c4c956360b76cf6f530ae7c26d97777d4c37164e6fc0da0dc931d41378aa020a235e40d7f8e8160c1b9dab552c6d7bf3aa7697e9048effef2b3cee8573553 ) -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DSTRING_VIEW_LITE_OPT_BUILD_TESTS=OFF -DSTRING_VIEW_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/string-view-lite/vcpkg.json b/ports/string-view-lite/vcpkg.json index 1e15f01645..1d1bfc18f1 100644 --- a/ports/string-view-lite/vcpkg.json +++ b/ports/string-view-lite/vcpkg.json @@ -1,6 +1,15 @@ { "name": "string-view-lite", - "version-string": "1.3.0", - "port-version": 1, - "description": "A C++17-like string_view for C++98, C++11 and later in a single-file header-only library" + "version": "1.6.0", + "description": "A C++17-like string_view for C++98, C++11 and later in a single-file header-only library", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 3c88ff0c8a..bf76668ace 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6457,8 +6457,8 @@ "port-version": 1 }, "string-view-lite": { - "baseline": "1.3.0", - "port-version": 1 + "baseline": "1.6.0", + "port-version": 0 }, "strtk": { "baseline": "2020-09-14", diff --git a/versions/s-/string-view-lite.json b/versions/s-/string-view-lite.json index 8a706e55df..8b2a243903 100644 --- a/versions/s-/string-view-lite.json +++ b/versions/s-/string-view-lite.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "48fa93dc01e7035c62d200c96fbe6d6d28a3c6fb", + "version": "1.6.0", + "port-version": 0 + }, { "git-tree": "ca0acc44ac920ca460f95c75da6b05c2fa92447c", "version-string": "1.3.0",