aboutsummaryrefslogtreecommitdiff
path: root/common/CMakeLists.txt
blob: 901a47f980dc4ccade0ede8e3b0a6391e78eeb3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include_directories(
	${WLC_INCLUDE_DIRS}
	${XKBCOMMON_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()