summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-11-13 07:17:22 -0500
committerDrew DeVault <sir@cmpwn.com>2015-11-13 07:17:48 -0500
commit99e477b3bd1c97166513acb9e3037e9e473dd690 (patch)
tree6d49d488d671eb2ae40dac040b1b2496c375c321 /CMakeLists.txt
parent0db562ccc082550fcc92c0650dfc47891ea770be (diff)
downloadswaybg-99e477b3bd1c97166513acb9e3037e9e473dd690.tar.gz
swaybg-99e477b3bd1c97166513acb9e3037e9e473dd690.tar.bz2
Clean up CMake stuff
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ad4332..8da31fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,7 @@ include_directories(
)
FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
+FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
FILE(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c)
add_executable(swaybg
@@ -22,7 +23,7 @@ add_executable(swaybg
${common}
)
-TARGET_LINK_LIBRARIES(swaybg ${WAYLAND_CLIENT_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES} sway_common)
+TARGET_LINK_LIBRARIES(swaybg ${WAYLAND_CLIENT_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES})
install(
TARGETS swaybg