vcpkg/ports/jsoncons/portfile.cmake
Daniel Parker b41cc26173
[jsoncons] Update to version 0.168.3 (#22774)
* [jsoncons] Update to version 0.168.3

* [jsoncons] Update baseline
2022-01-25 13:03:01 -08:00

23 lines
735 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO danielaparker/jsoncons
REF 1120e26743ad89621497ebd37acd61cf81152828 # v0.168.3
SHA512 12842c0eda9709b8b8010540a482c6dd08d5b979d8f9469a663fb68b402db9f786cfa00856f8ef9396273a0fa488df581f4da008ef3f2ad3ae989bf317a77cd1
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})
vcpkg_fixup_pkgconfig()
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)