diff options
author | 2015-12-02 05:34:18 -0500 | |
---|---|---|
committer | 2015-12-02 05:34:18 -0500 | |
commit | 7a1c8c2939c8581bb47323513b91a94aebf62b36 (patch) | |
tree | 717052d8d88f3fd14d26566daa520dbdd3a452fe /wayland/CMakeLists.txt | |
parent | Merge pull request #290 from christophgysin/cmake (diff) | |
parent | cmake: build common code only once (diff) | |
download | sway-7a1c8c2939c8581bb47323513b91a94aebf62b36.tar.gz sway-7a1c8c2939c8581bb47323513b91a94aebf62b36.tar.zst sway-7a1c8c2939c8581bb47323513b91a94aebf62b36.zip |
Merge pull request #291 from christophgysin/libs
cmake: build common code only once
Diffstat (limited to 'wayland/CMakeLists.txt')
-rw-r--r-- | wayland/CMakeLists.txt | 17 |
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 @@ | |||
1 | include_directories( | ||
2 | ${PROTOCOLS_INCLUDE_DIRS} | ||
3 | ${PANGO_INCLUDE_DIRS} | ||
4 | ) | ||
5 | |||
6 | add_library(sway-wayland | ||
7 | buffers.c | ||
8 | pango.c | ||
9 | registry.c | ||
10 | window.c | ||
11 | ) | ||
12 | |||
13 | target_link_libraries(sway-wayland | ||
14 | sway-common | ||
15 | sway-protocols | ||
16 | ${PANGO_LIBRARIES} | ||
17 | ) | ||