mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:29:00 +08:00
[skyr-url] Fix cmake config files (#22760)
* [skyr-url] Fix cmake config files * version
This commit is contained in:
parent
4945d50e90
commit
ff5bd0828c
@ -8,9 +8,8 @@ vcpkg_from_github(
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-Dskyr_BUILD_TESTS=OFF
|
||||
-Dskyr_BUILD_DOCS=OFF
|
||||
@ -18,11 +17,13 @@ vcpkg_configure_cmake(
|
||||
-Dskyr_WARNINGS_AS_ERRORS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/skyr-url)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,12 +1,20 @@
|
||||
{
|
||||
"name": "skyr-url",
|
||||
"version-string": "1.13.0",
|
||||
"port-version": 1,
|
||||
"version": "1.13.0",
|
||||
"port-version": 2,
|
||||
"description": "A C++ library that implements the WhatWG URL specification",
|
||||
"homepage": "https://github.com/cpp-netlib/url",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
"range-v3",
|
||||
"tl-expected"
|
||||
"tl-expected",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -6406,7 +6406,7 @@
|
||||
},
|
||||
"skyr-url": {
|
||||
"baseline": "1.13.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"sleef": {
|
||||
"baseline": "3.5.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "429bf1616eeeb9c2315b09d9a6c741245e3eae6a",
|
||||
"version": "1.13.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "174f5bc4cc8080f2cb34c7a1aad9b14bedaa2c9a",
|
||||
"version-string": "1.13.0",
|
||||
|
Loading…
Reference in New Issue
Block a user