aboutsummaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-04-28 20:13:26 +0200
committerFurkan Sahin <furkan-dev@proton.me>2016-04-28 20:13:26 +0200
commit66966fb03d792fddc2088e5197051f32be1c656d (patch)
tree8e2ed416caff4d0418f44a88d08e848fb8605896 /protocols
parent9881e1467b11f0b6dd90c7489909ddec4d7c9a91 (diff)
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 'protocols')
-rw-r--r--protocols/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CMakeLists.txt b/protocols/CMakeLists.txt
index 0ff7c704..ff0a2e4d 100644
--- a/protocols/CMakeLists.txt
+++ b/protocols/CMakeLists.txt
@@ -22,7 +22,7 @@ WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
swaylock
)
-add_library(sway-protocols
+add_library(sway-protocols STATIC
${proto-client-xdg-shell}
${proto-client-desktop-shell}
${proto-server-desktop-shell}