aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/tomlplusplus/CONTROL2
-rw-r--r--ports/tomlplusplus/portfile.cmake13
2 files changed, 8 insertions, 7 deletions
diff --git a/ports/tomlplusplus/CONTROL b/ports/tomlplusplus/CONTROL
index 5cba84a10..2883f49ee 100644
--- a/ports/tomlplusplus/CONTROL
+++ b/ports/tomlplusplus/CONTROL
@@ -1,5 +1,5 @@
Source: tomlplusplus
-Version: 2.1.0
+Version: 2.2.0
Homepage: https://marzer.github.io/tomlplusplus/
Description: Header-only TOML config file parser and serializer for modern C++.
Supports: !(arm|uwp|linux|osx)
diff --git a/ports/tomlplusplus/portfile.cmake b/ports/tomlplusplus/portfile.cmake
index 26b8f8171..9517079a8 100644
--- a/ports/tomlplusplus/portfile.cmake
+++ b/ports/tomlplusplus/portfile.cmake
@@ -3,23 +3,24 @@ vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "osx" "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO marzer/tomlplusplus
- REF v2.1.0
- SHA512 7bd0ea4ecfc90946487acd545bc8635a85353506c90553f4a6f8e3d83c30f85ac12e1ce82c10e03a4ea335c1b622e64ea0753efca9b2829907996e3a6d28867a
+ REF v2.2.0
+ SHA512 e309c10d89d23e379520ed338101ad3d1b48b6184b1475cf9190bace7bd0c0bdcd738ba7dcc66e47183b925c06408ceba5591e8e7fcd419bf7ea6485a07f0679
HEAD_REF master
)
vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
- -DGENERATE_CMAKE_CONFIG=enabled
- -DBUILD_TESTS=disabled
- -DBUILD_EXAMPLES=disabled
+ -Dgenerate_cmake_config=true
+ -Dbuild_tests=false
+ -Dbuild_examples=false
)
vcpkg_install_meson()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_fixup_pkgconfig()
-file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)