aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-12-02 05:34:18 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-12-02 05:34:18 -0500
commit7a1c8c2939c8581bb47323513b91a94aebf62b36 (patch)
tree717052d8d88f3fd14d26566daa520dbdd3a452fe /swaymsg
parentMerge pull request #290 from christophgysin/cmake (diff)
parentcmake: build common code only once (diff)
downloadsway-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 'swaymsg')
-rw-r--r--swaymsg/CMakeLists.txt10
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 @@
1file(GLOB sources *.c)
2file(GLOB common ../common/*.c)
3
4add_executable(swaymsg 1add_executable(swaymsg
5 ${sources} 2 main.c
6 ${common}
7) 3)
8 4
5target_link_libraries(swaymsg
6 sway-common
7 )
8
9install( 9install(
10 TARGETS swaymsg 10 TARGETS swaymsg
11 RUNTIME 11 RUNTIME