diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 21:05:46 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 22:03:09 +0200 |
commit | 905966bcae6a81fbe2cb98668982bd4804f362de (patch) | |
tree | 5c896157a6717ebb675c8ebc28fcf1aef0b37d8c /swaybar | |
parent | cmake: convert all cmake commands to lowercase (diff) | |
download | sway-905966bcae6a81fbe2cb98668982bd4804f362de.tar.gz sway-905966bcae6a81fbe2cb98668982bd4804f362de.tar.zst sway-905966bcae6a81fbe2cb98668982bd4804f362de.zip |
cmake: style consistency
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/CMakeLists.txt | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/swaybar/CMakeLists.txt b/swaybar/CMakeLists.txt index 80b8876d..b4ce9e7b 100644 --- a/swaybar/CMakeLists.txt +++ b/swaybar/CMakeLists.txt | |||
@@ -6,8 +6,14 @@ find_package(Pango REQUIRED) | |||
6 | 6 | ||
7 | include(Wayland) | 7 | include(Wayland) |
8 | set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) | 8 | set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) |
9 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml" xdg-shell) | 9 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell |
10 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml" desktop-shell) | 10 | "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml" |
11 | xdg-shell | ||
12 | ) | ||
13 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell | ||
14 | "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml" | ||
15 | desktop-shell | ||
16 | ) | ||
11 | 17 | ||
12 | include_directories( | 18 | include_directories( |
13 | ${WAYLAND_CLIENT_INCLUDE_DIR} | 19 | ${WAYLAND_CLIENT_INCLUDE_DIR} |
@@ -28,9 +34,17 @@ add_executable(swaybar | |||
28 | ${proto-desktop-shell} | 34 | ${proto-desktop-shell} |
29 | ) | 35 | ) |
30 | 36 | ||
31 | target_link_libraries(swaybar ${WAYLAND_CLIENT_LIBRARIES} ${WAYLAND_CURSOR_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES} m) | 37 | target_link_libraries(swaybar |
38 | ${WAYLAND_CLIENT_LIBRARIES} | ||
39 | ${WAYLAND_CURSOR_LIBRARIES} | ||
40 | ${CAIRO_LIBRARIES} | ||
41 | ${PANGO_LIBRARIES} | ||
42 | m | ||
43 | ) | ||
32 | 44 | ||
33 | install( | 45 | install( |
34 | TARGETS swaybar | 46 | TARGETS swaybar |
35 | RUNTIME DESTINATION bin | 47 | RUNTIME |
36 | COMPONENT runtime) | 48 | DESTINATION bin |
49 | COMPONENT runtime | ||
50 | ) | ||