From fd1a59def370be34853f3540a5e78cd82a40b7f6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2015 07:17:22 -0500 Subject: Clean up CMake stuff --- swaybg/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'swaybg') diff --git a/swaybg/CMakeLists.txt b/swaybg/CMakeLists.txt index 1ad43324..8da31faa 100644 --- a/swaybg/CMakeLists.txt +++ b/swaybg/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 -- cgit v1.2.3