2018-04-06 08:43:49 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO zeux/pugixml
|
2022-11-15 13:33:34 +08:00
|
|
|
REF a0e064336317c9347a91224112af9933598714e9 #v1.13.0
|
|
|
|
SHA512 9fe2285215520b6ac5f832d457bdfedcf183787a7058bb970a20ea7ca111e1afd864f5b90a4810c79470afefc55c0199febf04d1600634c1ffdbbe000ef6e1df
|
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()
|
2022-04-20 05:31:08 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/pugixml)
|
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
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|