[tomlplusplus] Update to 3.1.0 (#25128)

* update to 3.1.0

* fixup config path

* lib dir no longer exists

* quote paths

* add versions
This commit is contained in:
Ryan 2022-06-08 04:45:59 -07:00 committed by GitHub
parent 4b313f0289
commit 722fab96f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 8 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO marzer/tomlplusplus
REF v3.0.1
SHA512 bfb05d16715d1e8b54177e905c0a83470e7472c9c474874d70528558bbf0b0ba0daae67e1e44d99c45de3f87918bca57e889caba2e3da5e351045aee7e6a144b
REF v3.1.0
SHA512 b5223fa978b606f6b14fa74495884ccd491fa6017ef44b2ac9a384fa1df7100745145163e2a139255927fb51e5ecd779ee2643c19579eab6e4533b15e75c9be9
HEAD_REF master
)
@ -15,12 +15,11 @@ vcpkg_configure_meson(
)
vcpkg_install_meson()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/tomlplusplus)
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"
"${CURRENT_PACKAGES_DIR}/lib")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,6 @@
{
"name": "tomlplusplus",
"version": "3.0.1",
"version": "3.1.0",
"description": "Header-only TOML config file parser and serializer for modern C++.",
"homepage": "https://marzer.github.io/tomlplusplus/",
"license": "MIT",

View File

@ -7125,7 +7125,7 @@
"port-version": 0
},
"tomlplusplus": {
"baseline": "3.0.1",
"baseline": "3.1.0",
"port-version": 0
},
"tool-meson": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bf80fe2b73187c7a5ae1ea2d32cba894c13f7224",
"version": "3.1.0",
"port-version": 0
},
{
"git-tree": "815508399a10ce972d933aa3f5b4f751c37c64d2",
"version": "3.0.1",