mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 16:19:02 +08:00
0ea73f48b2
* [jsoncons] Update to 0.173.2 * git add -u && git commit * [jsoncons] Update to 0.173.2 * [jsoncons] vcpkg x-add-version --all * [jsoncons] Update to v0.174.0 * [jsoncons] baseline updated
26 lines
725 B
CMake
26 lines
725 B
CMake
# header-only library
|
|
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO danielaparker/jsoncons
|
|
REF v${VERSION}
|
|
SHA512 e876d2596ea2d8aff5c1131c27936ddacc03828880cc680ba1b301629557c690332f0a48889af931c2629a984f17e3318e3e025a15a8b823ac9c4b9523dcaf8e
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DJSONCONS_BUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|