aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomáš Čech <sleep_walker@suse.cz>2016-04-28 20:13:26 +0200
committerTomáš Čech <sleep_walker@suse.cz>2016-04-28 20:13:26 +0200
commitbcdeb721893264d4c9c3471c3955ae20ce1b6e89 (patch)
tree8e2ed416caff4d0418f44a88d08e848fb8605896 /common
parent468ddfb34dd16408ae068f0fb922c75c13df2ef3 (diff)
downloadsway-bcdeb721893264d4c9c3471c3955ae20ce1b6e89.tar.xz
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.
Diffstat (limited to 'common')
-rw-r--r--common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 901a47f9..9c2c0a99 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -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