vcpkg/ports/jsoncons/portfile.cmake
Daniel Parker 053ade685f
[jsoncons] Update to v0.146.0 (#10165)
* [jsoncons] Update to v0.145.0

* Update to v0.145.1

* Removed blank lines at end of .cmake file. Update to v0.145.2

* [jsoncons]Line include(vcpkg_common_functions) removed
2020-02-28 21:50:56 -08:00

22 lines
702 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO danielaparker/jsoncons
REF 91c275b5c6d2fdbcdfee5c66bd74e7072543bc99 # v0.146.0
SHA512 8857060bed5ac32954386ad6447d30442c0882f6c0153b3cb12022fc1651b21eb62a14dc6198f45abe1a469784f9af6d3e9565a380b917d270e45103c4a9e265
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_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)