mirror of
https://github.com/swaywm/sway
synced 2024-11-18 19:03:59 +01:00
20 lines
261 B
CMake
20 lines
261 B
CMake
include_directories(
|
|
${WLC_INCLUDE_DIRS}
|
|
)
|
|
|
|
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()
|