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 | f8ffd9c029ef3a23f9fe82eadd9803a599969484 (patch) | |
tree | a9af408fdf15b49669a494122525ec0d6c193698 /CMakeLists.txt | |
parent | a92eb0c0e972ba363e326b5135c599558e8669e0 (diff) | |
download | swaybg-f8ffd9c029ef3a23f9fe82eadd9803a599969484.tar.gz swaybg-f8ffd9c029ef3a23f9fe82eadd9803a599969484.tar.bz2 |
cmake: style consistency
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a6c3ef..ae37641 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,14 @@ find_package(Pango REQUIRED) include(Wayland) set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) -WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml" xdg-shell) -WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml" desktop-shell) +WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell + "${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml" + xdg-shell +) +WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell + "${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml" + desktop-shell +) include_directories( ${WAYLAND_CLIENT_INCLUDE_DIR} @@ -28,9 +34,17 @@ add_executable(swaybg ${proto-desktop-shell} ) -target_link_libraries(swaybg ${WAYLAND_CLIENT_LIBRARIES} ${WAYLAND_CURSOR_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES} m) +target_link_libraries(swaybg + ${WAYLAND_CLIENT_LIBRARIES} + ${WAYLAND_CURSOR_LIBRARIES} + ${CAIRO_LIBRARIES} + ${PANGO_LIBRARIES} + m +) install( - TARGETS swaybg - RUNTIME DESTINATION bin - COMPONENT runtime) + TARGETS swaybg + RUNTIME + DESTINATION bin + COMPONENT runtime +) |