[tomlplusplus] no absolute paths (#21733)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
autoantwort 2021-11-30 02:23:48 +01:00 committed by GitHub
parent 78ab7763bd
commit b1583534ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 4 deletions

View File

@ -15,7 +15,9 @@ vcpkg_configure_meson(
)
vcpkg_install_meson()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
cmake_path(NATIVE_PATH SOURCE_PATH native_source_path)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/tomlplusplus/tomlplusplusConfig.cmake" "${native_source_path}" "")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"

View File

@ -1,8 +1,14 @@
{
"name": "tomlplusplus",
"version": "2.5.0",
"port-version": 1,
"port-version": 2,
"description": "Header-only TOML config file parser and serializer for modern C++.",
"homepage": "https://marzer.github.io/tomlplusplus/",
"supports": "!uwp"
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6846,7 +6846,7 @@
},
"tomlplusplus": {
"baseline": "2.5.0",
"port-version": 1
"port-version": 2
},
"tool-meson": {
"baseline": "0.58.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8a772c48d2f8b5d525a1bcad95296bb483194e7a",
"version": "2.5.0",
"port-version": 2
},
{
"git-tree": "be5f558a002098691a82ebb0c86fd19420f4ceaa",
"version": "2.5.0",