aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg/CMakeLists.txt')
-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 @@
-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