aboutsummaryrefslogtreecommitdiffstats
path: root/swaybg
diff options
context:
space:
mode:
authorLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-12-01 21:46:10 +0200
committerLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-12-01 22:03:09 +0200
commitf7ec3d00a08f0d44ae0c8fd756c24f12d68cee9b (patch)
tree2100f5d1fbb070b0d8620b43937116989f04ac93 /swaybg
parentcmake: style consistency (diff)
downloadsway-f7ec3d00a08f0d44ae0c8fd756c24f12d68cee9b.tar.gz
sway-f7ec3d00a08f0d44ae0c8fd756c24f12d68cee9b.tar.zst
sway-f7ec3d00a08f0d44ae0c8fd756c24f12d68cee9b.zip
cmake: use tabs instead of spaces
Diffstat (limited to 'swaybg')
-rw-r--r--swaybg/CMakeLists.txt44
1 files changed, 22 insertions, 22 deletions
diff --git a/swaybg/CMakeLists.txt b/swaybg/CMakeLists.txt
index ae376419..9a54a32a 100644
--- a/swaybg/CMakeLists.txt
+++ b/swaybg/CMakeLists.txt
@@ -7,19 +7,19 @@ find_package(Pango REQUIRED)
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 9WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell
10 "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml" 10 "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml"
11 xdg-shell 11 xdg-shell
12) 12)
13WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell 13WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell
14 "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml" 14 "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml"
15 desktop-shell 15 desktop-shell
16) 16)
17 17
18include_directories( 18include_directories(
19 ${WAYLAND_CLIENT_INCLUDE_DIR} 19 ${WAYLAND_CLIENT_INCLUDE_DIR}
20 ${CAIRO_INCLUDE_DIRS} 20 ${CAIRO_INCLUDE_DIRS}
21 ${PANGO_INCLUDE_DIRS} 21 ${PANGO_INCLUDE_DIRS}
22 ${CMAKE_CURRENT_BINARY_DIR} 22 ${CMAKE_CURRENT_BINARY_DIR}
23) 23)
24 24
25file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) 25file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
@@ -27,24 +27,24 @@ file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
27file(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) 27file(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c)
28 28
29add_executable(swaybg 29add_executable(swaybg
30 ${sources} 30 ${sources}
31 ${wl_sources} 31 ${wl_sources}
32 ${common} 32 ${common}
33 ${proto-xdg-shell} 33 ${proto-xdg-shell}
34 ${proto-desktop-shell} 34 ${proto-desktop-shell}
35) 35)
36 36
37target_link_libraries(swaybg 37target_link_libraries(swaybg
38 ${WAYLAND_CLIENT_LIBRARIES} 38 ${WAYLAND_CLIENT_LIBRARIES}
39 ${WAYLAND_CURSOR_LIBRARIES} 39 ${WAYLAND_CURSOR_LIBRARIES}
40 ${CAIRO_LIBRARIES} 40 ${CAIRO_LIBRARIES}
41 ${PANGO_LIBRARIES} 41 ${PANGO_LIBRARIES}
42 m 42 m
43) 43)
44 44
45install( 45install(
46 TARGETS swaybg 46 TARGETS swaybg
47 RUNTIME 47 RUNTIME
48 DESTINATION bin 48 DESTINATION bin
49 COMPONENT runtime 49 COMPONENT runtime
50) 50)