vcpkg/ports/jsoncons/portfile.cmake
Daniel Parker 7ee07915db
[jsoncons] Update to 0.163.1 (#17126)
* [jsoncons]Update to 0.163.1

* [jsoncons] Update baseline
2021-04-09 09:50:50 -07:00

22 lines
711 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO danielaparker/jsoncons
REF 7c2ad0d41a9a2032072cb30e1d902f56ec6439a8 # v0.163.1
SHA512 1d1d619e75504dc24a82809b7b13698549bd950a8671ad93b2b24f94203d5867a4df3a0b7ddf36c9d8d56bc4f9c356fbf5088a2aea2192b69edbc6f6a3b41ecc
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DJSONCONS_BUILD_TESTS=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)