2018-04-06 08:43:49 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO zeux/pugixml
|
2023-10-11 05:59:58 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 730d203829eb24d6e1c873f9b921ae97cf7a157fd45504151bc2e61adea5c536eaf33ff38c5ad61629b54a6686135ff1834a61102b4660fbb9ead4ecf20dfd34
|
2018-04-06 08:43:49 +08:00
|
|
|
HEAD_REF master
|
2017-02-27 17:17:59 +08:00
|
|
|
)
|
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DPUGIXML_BUILD_TESTS=OFF
|
2018-04-06 08:43:49 +08:00
|
|
|
)
|
2017-02-27 17:17:59 +08:00
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-02-27 17:17:59 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2023-10-11 05:59:58 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
2020-07-16 06:17:32 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2017-02-27 17:17:59 +08:00
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2018-04-06 08:43:49 +08:00
|
|
|
|
2023-10-11 05:59:58 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|