Skip to content

Commit 8b98481

Browse files
authored
Merge pull request ceph#66166 from cbodley/wip-cmake-breakpad-arch
cmake: disable WITH_BREAKPAD on power arch Reviewed-by: Kefu Chai <[email protected]>
2 parents 35a9024 + ca892e3 commit 8b98481

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

CMakeLists.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -538,13 +538,10 @@ if(WITH_CATCH2)
538538
message("-- Enabled Catch2 support")
539539
endif()
540540

541-
if(WIN32)
542-
set(WITH_BREAKPAD_DEFAULT OFF)
543-
else()
544-
set(WITH_BREAKPAD_DEFAULT ON)
545-
endif()
546-
547-
option(WITH_BREAKPAD "Build with Google Breakpad crash reporter" ${WITH_BREAKPAD_DEFAULT})
541+
# enable breakpad unless win32 or power
542+
# ppc64le port tracked in https://issues.chromium.org/issues/41479970
543+
CMAKE_DEPENDENT_OPTION(WITH_BREAKPAD "Build with Google Breakpad crash reporter" OFF
544+
"WIN32 OR CMAKE_SYSTEM_PROCESSOR MATCHES ppc64le" ON)
548545
if(WITH_BREAKPAD)
549546
set(HAVE_BREAKPAD ON)
550547
message("-- Enabled Google Breakpad crash reporter")

0 commit comments

Comments
 (0)