Skip to content

Commit 2ad77d3

Browse files
magomezspenap
authored andcommitted
Disable libbacktrace support if the library is not present in the system.
1 parent 96c6c01 commit 2ad77d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/cmake/OptionsWPE.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ endif ()
419419
if (USE_LIBBACKTRACE)
420420
find_package(LibBacktrace)
421421
if (NOT LIBBACKTRACE_FOUND)
422-
message(FATAL_ERROR "libbacktrace is required for USE_LIBBACKTRACE")
422+
message(WARNING "libbacktrace not found, disabling support")
423+
SET_AND_EXPOSE_TO_BUILD(USE_LIBBACKTRACE OFF)
423424
endif ()
424425
endif ()
425426

0 commit comments

Comments
 (0)