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