2019-06-07 04:58:41 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ivmai/bdwgc
|
2021-11-16 00:55:59 +08:00
|
|
|
REF 5fab1a01931a1a6934ccf1d5eaa1e51f0a8dac4d # v8.2.0-20211115
|
|
|
|
SHA512 b1a97aad10df33bb242985eb48f1bb2d3082d88f26c34014efce3d0f233bcd18a0f43f1bd960600ad9e22bcb19ebf04e573c74dfc1abfb771aa6b8525053c14b
|
2019-06-07 04:58:41 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-04-09 06:32:50 +08:00
|
|
|
vcpkg_cmake_configure(
|
2021-10-15 08:56:06 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2021-11-16 00:55:59 +08:00
|
|
|
-Denable_cplusplus=ON
|
2022-04-09 06:32:50 +08:00
|
|
|
-Denable_docs=OFF
|
2021-11-16 00:55:59 +08:00
|
|
|
-DCFLAGS_EXTRA=-I${CURRENT_INSTALLED_DIR}/include # for libatomic_ops
|
2021-10-15 08:56:06 +08:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-Dinstall_headers=OFF
|
2019-06-07 04:58:41 +08:00
|
|
|
)
|
|
|
|
|
2022-04-09 06:32:50 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bdwgc)
|
2019-06-07 04:58:41 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2021-10-15 08:56:06 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2021-10-28 06:19:28 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2022-04-09 06:32:50 +08:00
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/README.QUICK" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|