diff options
author | 2015-12-01 15:25:41 -0500 | |
---|---|---|
committer | 2015-12-01 15:25:41 -0500 | |
commit | 1fbabc6c747205e62cd1dff3771bd319a935438f (patch) | |
tree | 8c079c9fe0f909be8429ab010ed75853bd3429d0 /swaymsg/CMakeLists.txt | |
parent | Merge pull request #286 from mikkeloscar/wlc-origin-point (diff) | |
parent | cmake: remove unnecessary quotes (diff) | |
download | sway-1fbabc6c747205e62cd1dff3771bd319a935438f.tar.gz sway-1fbabc6c747205e62cd1dff3771bd319a935438f.tar.zst sway-1fbabc6c747205e62cd1dff3771bd319a935438f.zip |
Merge pull request #285 from christophgysin/cmake
cmake configuration cleanup
Diffstat (limited to 'swaymsg/CMakeLists.txt')
-rw-r--r-- | swaymsg/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 79af0f3e..2671dc2c 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt | |||
@@ -1,16 +1,16 @@ | |||
1 | project(swaymsg) | 1 | project(swaymsg) |
2 | 2 | ||
3 | set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) | 3 | file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) |
4 | 4 | file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) | |
5 | FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) | ||
6 | FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) | ||
7 | 5 | ||
8 | add_executable(swaymsg | 6 | add_executable(swaymsg |
9 | ${sources} | 7 | ${sources} |
10 | ${common} | 8 | ${common} |
11 | ) | 9 | ) |
12 | 10 | ||
13 | install( | 11 | install( |
14 | TARGETS swaymsg | 12 | TARGETS swaymsg |
15 | RUNTIME DESTINATION bin | 13 | RUNTIME |
16 | COMPONENT runtime) | 14 | DESTINATION bin |
15 | COMPONENT runtime | ||
16 | ) | ||