diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 22:37:08 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 22:47:22 +0200 |
commit | ef192c5e4f5289c1e6ea32c1eb37d5b1f82b4534 (patch) | |
tree | e12f8f5850341090a5d1f99007b1b75c15cdf315 | |
parent | 10ba7e41461fde011fdea8806b16f71590ef1688 (diff) | |
download | swaybg-ef192c5e4f5289c1e6ea32c1eb37d5b1f82b4534.tar.gz swaybg-ef192c5e4f5289c1e6ea32c1eb37d5b1f82b4534.tar.bz2 |
cmake: remove subprojects
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8016d95..9d3cc54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,14 @@ -project(swaybg) - find_package(Wayland REQUIRED) find_package(Cairo REQUIRED) find_package(Pango REQUIRED) include(Wayland) WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell - ${PROJECT_SOURCE_DIR}/../protocols/xdg-shell.xml + ../protocols/xdg-shell.xml xdg-shell ) WAYLAND_ADD_PROTOCOL_CLIENT(proto-desktop-shell - ${PROJECT_SOURCE_DIR}/../protocols/desktop-shell.xml + ../protocols/desktop-shell.xml desktop-shell ) @@ -21,9 +19,9 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) -file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) -file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) -file(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) +file(GLOB sources *.c) +file(GLOB common ../common/*.c) +file(GLOB wl_sources ../wayland/*.c) add_executable(swaybg ${sources} |