diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 05:34:18 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 05:34:18 -0500 |
| commit | 5ad2f04434f04a884e9812aeae86e2328ec9a2c9 (patch) | |
| tree | 717052d8d88f3fd14d26566daa520dbdd3a452fe /swaymsg | |
| parent | ee4d54e48ec145350f045896ebc6af6154a3ea2e (diff) | |
| parent | 143aaac291d88c1dabd9323d16139ee3c10cb743 (diff) | |
Merge pull request #291 from christophgysin/libs
cmake: build common code only once
Diffstat (limited to 'swaymsg')
| -rw-r--r-- | swaymsg/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 7616d942..2481b280 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt @@ -1,11 +1,11 @@ -file(GLOB sources *.c) -file(GLOB common ../common/*.c) - add_executable(swaymsg - ${sources} - ${common} + main.c ) +target_link_libraries(swaymsg + sway-common + ) + install( TARGETS swaymsg RUNTIME |
