vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO agl-alexglopez/str_view REF "v${VERSION}" SHA512 7271616a9469e68f9d2125cd6ba2e909172329b61d93f00c29139deb73128353a0c4e60340b217ff85379b494eeb6920eb55203085573e14e993340d3c97fba3 HEAD_REF main ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" ) vcpkg_cmake_install() vcpkg_cmake_config_fixup( PACKAGE_NAME "str_view" CONFIG_PATH "lib/cmake/str_view" ) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)