2022-11-19 05:05:16 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2018-03-24 06:04:01 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO kgabis/parson
|
2024-09-30 23:43:37 +08:00
|
|
|
REF ba29f4eda9ea7703a9f6a9cf2b0532a2605723c3 # accessed on 2023-10-31
|
|
|
|
SHA512 fdb8c66e9b8966488a22db2e6437d0bfa521c73abc043c7bd18227247fd52de9dd1856dec0d5ebd88f1dacce2493b2c68707b5e16ca4e3032ff6342933f16030
|
2018-03-24 06:04:01 +08:00
|
|
|
HEAD_REF master
|
2022-11-19 05:05:16 +08:00
|
|
|
PATCHES
|
|
|
|
fix-cmake-files-path.patch
|
2018-03-24 06:04:01 +08:00
|
|
|
)
|
|
|
|
|
2022-11-19 05:05:16 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-03-24 06:04:01 +08:00
|
|
|
)
|
|
|
|
|
2022-11-19 05:05:16 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-03-24 06:04:01 +08:00
|
|
|
|
2022-11-19 05:05:16 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2018-03-24 06:04:01 +08:00
|
|
|
|
2022-11-19 05:05:16 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2024-09-30 23:43:37 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
2018-03-24 06:04:01 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|