mirror of
https://github.com/swaywm/sway.git
synced 2025-12-15 08:56:30 -05:00
use CMake's FindBacktrace for backtrace feature detection
This commit is contained in:
parent
3dd2393797
commit
94cac7a014
3 changed files with 13 additions and 1 deletions
|
|
@ -58,6 +58,14 @@ find_package(Pango)
|
|||
find_package(GdkPixbuf)
|
||||
find_package(PAM)
|
||||
|
||||
find_package(Backtrace)
|
||||
if(Backtrace_FOUND)
|
||||
include_directories(${Backtrace_INCLUDE_DIRS})
|
||||
target_link_libraries(${Backtrace_LIBRARIES})
|
||||
add_definitions(-DSWAY_Backtrace_FOUND=1)
|
||||
set(SWAY_Backtrace_HEADER "${Backtrace_HEADER}")
|
||||
endif()
|
||||
|
||||
include(FeatureSummary)
|
||||
include(Manpage)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue