swayfx/common/CMakeLists.txt

20 lines
261 B
CMake
Raw Normal View History

include_directories(
${WLC_INCLUDE_DIRS}
)
add_library(sway-common
ipc-client.c
list.c
log.c
2015-12-15 03:16:38 +11:00
util.c
readline.c
stringop.c
)
if(Backtrace_FOUND)
set_target_properties(sway-common
PROPERTIES
COMPILE_FLAGS "-include ${Backtrace_HEADER}"
)
endif()