diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cd9c67b..cabdc468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -58,6 +58,14 @@ find_package(Pango) | |||
58 | find_package(GdkPixbuf) | 58 | find_package(GdkPixbuf) |
59 | find_package(PAM) | 59 | find_package(PAM) |
60 | 60 | ||
61 | find_package(Backtrace) | ||
62 | if(Backtrace_FOUND) | ||
63 | include_directories(${Backtrace_INCLUDE_DIRS}) | ||
64 | target_link_libraries(${Backtrace_LIBRARIES}) | ||
65 | add_definitions(-DSWAY_Backtrace_FOUND=1) | ||
66 | set(SWAY_Backtrace_HEADER "${Backtrace_HEADER}") | ||
67 | endif() | ||
68 | |||
61 | include(FeatureSummary) | 69 | include(FeatureSummary) |
62 | include(Manpage) | 70 | include(Manpage) |
63 | 71 | ||