aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-01 15:57:03 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-01 15:57:03 -0500
commitfc01f04c93c0de2a0cdcee946ac0131b86e18342 (patch)
tree204ba2fbc20298af8f159cd648c710b3a346135a /swaymsg
parent297d8b3f02a97c8b23fedd4185016e785f7e2fda (diff)
parent38d4ee9f5030ad8bf383c8c24b0b13b20dbc45de (diff)
Merge pull request #287 from christophgysin/cmake
cmake: extract config from toplevel CMakeLists.txt
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt
index 2671dc2c..7616d942 100644
--- a/swaymsg/CMakeLists.txt
+++ b/swaymsg/CMakeLists.txt
@@ -1,7 +1,5 @@
-project(swaymsg)
-
-file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
-file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
+file(GLOB sources *.c)
+file(GLOB common ../common/*.c)
add_executable(swaymsg
${sources}