diff options
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r-- | common/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index a40f096d..38767249 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -6,3 +6,10 @@ add_library(sway-common | |||
6 | readline.c | 6 | readline.c |
7 | stringop.c | 7 | stringop.c |
8 | ) | 8 | ) |
9 | |||
10 | if(Backtrace_FOUND) | ||
11 | set_target_properties(sway-common | ||
12 | PROPERTIES | ||
13 | COMPILE_FLAGS "-include ${Backtrace_HEADER}" | ||
14 | ) | ||
15 | endif() | ||