2019-06-06 22:58:41 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ivmai/bdwgc
|
2021-11-15 19:55:59 +03:00
|
|
|
REF 5fab1a01931a1a6934ccf1d5eaa1e51f0a8dac4d # v8.2.0-20211115
|
|
|
|
SHA512 b1a97aad10df33bb242985eb48f1bb2d3082d88f26c34014efce3d0f233bcd18a0f43f1bd960600ad9e22bcb19ebf04e573c74dfc1abfb771aa6b8525053c14b
|
2019-06-06 22:58:41 +02:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2021-10-15 03:56:06 +03:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-06-06 22:58:41 +02:00
|
|
|
PREFER_NINJA
|
2021-10-15 03:56:06 +03:00
|
|
|
OPTIONS
|
2021-11-15 19:55:59 +03:00
|
|
|
-Denable_cplusplus=ON
|
|
|
|
-DCFLAGS_EXTRA=-I${CURRENT_INSTALLED_DIR}/include # for libatomic_ops
|
2021-10-15 03:56:06 +03:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-Dinstall_headers=OFF
|
2019-06-06 22:58:41 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2021-10-15 03:56:06 +03:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/bdwgc)
|
2019-06-06 22:58:41 +02:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
# Handle copyright
|
2021-10-15 03:56:06 +03:00
|
|
|
file(INSTALL "${SOURCE_PATH}/README.QUICK" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2021-10-28 00:19:28 +02:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|