Explicitly mark static linking in CMake

When no type is given, it depends on BUILD_SHARED_LIBS value which is
not desired in this case.
This commit is contained in:
Tomáš Čech 2016-04-28 20:13:26 +02:00
parent 468ddfb34d
commit bcdeb72189
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ include_directories(
${XKBCOMMON_INCLUDE_DIRS}
)
add_library(sway-common
add_library(sway-common STATIC
ipc-client.c
list.c
log.c