mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 16:59:02 +08:00
4a311457c3
* [tomlplusplus] update to 3.3.0 * update version * fix android error * update version * update patch * update version
24 lines
686 B
CMake
24 lines
686 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO marzer/tomlplusplus
|
|
REF "v${VERSION}"
|
|
SHA512 6ab2de83b7fc44de40e58a47c28a9507bf7c50fa9b08925b5a6d48958868a86e6790aff684d29ceb50ad18905e3832840719e1b7bfec3b8a0c00b15bb0f70f38
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-android-fileapi.patch
|
|
)
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-Dgenerate_cmake_config=false
|
|
-Dbuild_tests=false
|
|
-Dbuild_examples=false
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|