vcpkg/ports/jsoncons/portfile.cmake
Daniel Parker 80bd78d3dd
[jsoncons] Update to v0.163.0 (#16820)
* [jsoncons] Update to v0.163.0

* [jsoncons] Update baseline

* [jsoncons] BUILD_TESTS ->JSONCONS_BUILD_TESTS

* [jsoncons] Update baseline
2021-03-24 12:46:18 -07:00

22 lines
711 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO danielaparker/jsoncons
REF 30ab7f073d6e6dfff747796e78349f0f9aee2a4e # v0.163.0
SHA512 139fbe0e4769ae5c1d4fc6ac53dde12ca6ccf01f0e4bf3f28f1bd623bf44eba3aee024913ba02c1df48f8d7639d602cabbb960bad704eb63242a59e9ec993e09
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)