summaryrefslogtreecommitdiff
path: root/wayland
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-12-02 05:34:18 -0500
committerDrew DeVault <[email protected]>2015-12-02 05:34:18 -0500
commit7a1c8c2939c8581bb47323513b91a94aebf62b36 (patch)
tree717052d8d88f3fd14d26566daa520dbdd3a452fe /wayland
parentf76b7f5385f79f9e004a096ed4896725cac30f9c (diff)
parentcce9c338c07e889aa82db806f0dddf2f997edbb6 (diff)
Merge pull request #291 from christophgysin/libs
cmake: build common code only once
Diffstat (limited to 'wayland')
-rw-r--r--wayland/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/wayland/CMakeLists.txt b/wayland/CMakeLists.txt
new file mode 100644
index 00000000..5633dd6e
--- /dev/null
+++ b/wayland/CMakeLists.txt
@@ -0,0 +1,17 @@
+include_directories(
+ ${PROTOCOLS_INCLUDE_DIRS}
+ ${PANGO_INCLUDE_DIRS}
+)
+
+add_library(sway-wayland
+ buffers.c
+ pango.c
+ registry.c
+ window.c
+ )
+
+target_link_libraries(sway-wayland
+ sway-common
+ sway-protocols
+ ${PANGO_LIBRARIES}
+ )