diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 07:57:53 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 07:57:53 +0200 |
| commit | 143aaac291d88c1dabd9323d16139ee3c10cb743 (patch) | |
| tree | 717052d8d88f3fd14d26566daa520dbdd3a452fe /swaygrab | |
| parent | ee4d54e48ec145350f045896ebc6af6154a3ea2e (diff) | |
cmake: build common code only once
This creates (static) libraries for protocols/, common/, and wayland/.
Diffstat (limited to 'swaygrab')
| -rw-r--r-- | swaygrab/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/swaygrab/CMakeLists.txt b/swaygrab/CMakeLists.txt index 77d96412..d5468cda 100644 --- a/swaygrab/CMakeLists.txt +++ b/swaygrab/CMakeLists.txt @@ -1,12 +1,9 @@ -file(GLOB sources *.c) -file(GLOB common ../common/*.c) - add_executable(swaygrab - ${sources} - ${common} + main.c ) target_link_libraries(swaygrab + sway-common rt ) |
