diff options
Diffstat (limited to 'swaybg/CMakeLists.txt')
-rw-r--r-- | swaybg/CMakeLists.txt | 44 |
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) | |||
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 | 9 | WAYLAND_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 | ) |
13 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell | 13 | WAYLAND_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 | ||
18 | include_directories( | 18 | include_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 | ||
25 | file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) | 25 | file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) |
@@ -27,24 +27,24 @@ file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) | |||
27 | file(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) | 27 | file(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) |
28 | 28 | ||
29 | add_executable(swaybg | 29 | add_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 | ||
37 | target_link_libraries(swaybg | 37 | target_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 | ||
45 | install( | 45 | install( |
46 | TARGETS swaybg | 46 | TARGETS swaybg |
47 | RUNTIME | 47 | RUNTIME |
48 | DESTINATION bin | 48 | DESTINATION bin |
49 | COMPONENT runtime | 49 | COMPONENT runtime |
50 | ) | 50 | ) |