2018-08-08 21:02:30 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2018-02-20 00:12:04 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO google/breakpad
|
2020-06-18 02:19:55 +08:00
|
|
|
REF c46151db0ffd1a8dae914e45f1212ef427f61ed3
|
2019-08-25 04:43:57 +08:00
|
|
|
SHA512 bd9f247851a3caa6f36574c8a243c2a01cb1cf23c2266b6f6786b85c7418dba5937363c00184e26cda24225f96bb7aaeb08efd13d6a269a3b78c357c2eda7e14
|
2018-02-20 00:12:04 +08:00
|
|
|
HEAD_REF master
|
2020-06-18 02:19:55 +08:00
|
|
|
PATCHES
|
|
|
|
fix-unique_ptr.patch
|
2018-02-20 00:12:04 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-breakpad TARGET_PATH share/unofficial-breakpad)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2020-06-18 02:19:55 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|