Skip to content

Commit

Permalink
[tomlplusplus] update to 2.2.0 (#13943)
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Oct 12, 2020
1 parent 0eb2070 commit 50a83ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ports/tomlplusplus/CONTROL
Original file line number Diff line number Diff line change
@@ -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)
13 changes: 7 additions & 6 deletions ports/tomlplusplus/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 50a83ae

Please sign in to comment.