2019-10-07 19:35:13 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-05-08 23:32:57 +03:00
|
|
|
REPO tristanpenman/valijson
|
2024-04-04 07:17:14 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 c1141e533d6a791a01883c5b7ab9501eebc39057a850d784670a4bcf99bff3fee4c3120107128dcaa9db0505adf2ae794700620c02163b3e636f0b635031df80
|
2019-05-08 23:32:57 +03:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-11-29 09:21:41 +01:00
|
|
|
set(VCPKG_BUILD_TYPE release) # headers only
|
2019-05-08 23:32:57 +03:00
|
|
|
|
2023-11-29 09:21:41 +01:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-Dvalijson_BUILD_TESTS:BOOL=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/valijson")
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
2019-05-08 23:32:57 +03:00
|
|
|
|
2023-11-29 09:21:41 +01:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug/lib")
|