sway/common/CMakeLists.txt
robotanarchy 470e59b291 fix backtrace detection in CMake
works on arch (glibc) and void linux (tested with musl libc) now
2015-12-22 00:32:41 +01:00

16 lines
216 B
CMake

add_library(sway-common
ipc-client.c
list.c
log.c
util.c
readline.c
stringop.c
)
if(Backtrace_FOUND)
set_target_properties(sway-common
PROPERTIES
COMPILE_FLAGS "-include ${Backtrace_HEADER}"
)
endif()