mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
bcdeb72189
When no type is given, it depends on BUILD_SHARED_LIBS value which is not desired in this case.
21 lines
295 B
CMake
21 lines
295 B
CMake
include_directories(
|
|
${WLC_INCLUDE_DIRS}
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(sway-common STATIC
|
|
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()
|