Skip to content

Commit 971ae03

Browse files
committed
Disable libbacktrace support if the library is not present in the system.
1 parent 524457b commit 971ae03

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
@@ -412,7 +412,8 @@ endif ()
412412
if (USE_LIBBACKTRACE)
413413
find_package(LibBacktrace)
414414
if (NOT LIBBACKTRACE_FOUND)
415-
message(FATAL_ERROR "libbacktrace is required for USE_LIBBACKTRACE")
415+
message(WARNING "libbacktrace not found, disabling support")
416+
SET_AND_EXPOSE_TO_BUILD(USE_LIBBACKTRACE OFF)
416417
endif ()
417418
endif ()
418419

0 commit comments

Comments
 (0)