mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[breakpad] Fix build failure on OSX (#11984)
* [breakpad] Fix build failure on OSX * update baseline * Update portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
f80c61927b
commit
a4d42aac24
@ -77,15 +77,16 @@ if(INSTALL_HEADERS)
|
||||
if(WIN32)
|
||||
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/linux|/mac|/solaris|/android|/dwarf|/tests|/testdata|/unittests")
|
||||
elseif(APPLE)
|
||||
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/linux|/windows|/solaris|/android|/dwarf|/tests|/testdata|/unittests")
|
||||
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/linux|/windows|/solaris|/android|/dwarf|/tests|/testdata|/unittests|/*proj|/gcov")
|
||||
else()
|
||||
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/client/linux/data|/client/linux/sender|/windows|/mac|/solaris|/android|/dwarf|/tests|/testdata|/unittests")
|
||||
endif()
|
||||
install(
|
||||
DIRECTORY src/client src/common src/google_breakpad
|
||||
DESTINATION include/
|
||||
FILES_MATCHING PATTERN "*.h"
|
||||
REGEX "${HEADER_EXCLUDE_REGEX}" EXCLUDE
|
||||
FILES_MATCHING
|
||||
PATTERN "*.h"
|
||||
REGEX ${HEADER_EXCLUDE_REGEX} EXCLUDE
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: breakpad
|
||||
Version: 2019-07-11-1
|
||||
Version: 2019-07-11-2
|
||||
Build-Depends: libdisasm
|
||||
Homepage: https://github.com/google/breakpad
|
||||
Description: a set of client and server components which implement a crash-reporting system.
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
@ -25,4 +23,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-breakpad TARGET_PATH shar
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/breakpad RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
@ -173,7 +173,6 @@ botan:x64-uwp=fail
|
||||
box2d:x64-uwp=fail
|
||||
box2d:arm-uwp=fail
|
||||
breakpad:arm64-windows=fail
|
||||
breakpad:x64-osx=fail
|
||||
bullet3:arm64-windows=fail
|
||||
bullet3:arm-uwp=fail
|
||||
bullet3:x64-uwp=fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user