diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2015-11-12 21:42:37 -0500 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2015-11-12 21:56:14 -0500 |
commit | ec013d1f1a5e0345353009f97dc506420995db6b (patch) | |
tree | 8ce960a4592d2889e4ed4ed307bdbdcbfd7c3e36 /swaybg/CMakeLists.txt | |
parent | cmake: clean up installation rules (diff) | |
download | sway-ec013d1f1a5e0345353009f97dc506420995db6b.tar.gz sway-ec013d1f1a5e0345353009f97dc506420995db6b.tar.zst sway-ec013d1f1a5e0345353009f97dc506420995db6b.zip |
common: create a static library
Diffstat (limited to 'swaybg/CMakeLists.txt')
-rw-r--r-- | swaybg/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/swaybg/CMakeLists.txt b/swaybg/CMakeLists.txt index e86cf656..1ad43324 100644 --- a/swaybg/CMakeLists.txt +++ b/swaybg/CMakeLists.txt | |||
@@ -8,7 +8,6 @@ include(Wayland) | |||
8 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "xdg-shell.xml" xdg-shell) | 8 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "xdg-shell.xml" xdg-shell) |
9 | 9 | ||
10 | include_directories( | 10 | include_directories( |
11 | ${CMAKE_CURRENT_SOURCE_DIR}/../include | ||
12 | ${WAYLAND_CLIENT_INCLUDE_DIR} | 11 | ${WAYLAND_CLIENT_INCLUDE_DIR} |
13 | ${CAIRO_INCLUDE_DIRS} | 12 | ${CAIRO_INCLUDE_DIRS} |
14 | ${PANGO_INCLUDE_DIRS} | 13 | ${PANGO_INCLUDE_DIRS} |
@@ -16,7 +15,6 @@ include_directories( | |||
16 | 15 | ||
17 | FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) | 16 | FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) |
18 | FILE(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) | 17 | FILE(GLOB wl_sources ${PROJECT_SOURCE_DIR}/../wayland/*.c) |
19 | FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) | ||
20 | 18 | ||
21 | add_executable(swaybg | 19 | add_executable(swaybg |
22 | ${sources} | 20 | ${sources} |
@@ -24,7 +22,7 @@ add_executable(swaybg | |||
24 | ${common} | 22 | ${common} |
25 | ) | 23 | ) |
26 | 24 | ||
27 | TARGET_LINK_LIBRARIES(swaybg ${WAYLAND_CLIENT_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES}) | 25 | TARGET_LINK_LIBRARIES(swaybg ${WAYLAND_CLIENT_LIBRARIES} ${CAIRO_LIBRARIES} ${PANGO_LIBRARIES} sway_common) |
28 | 26 | ||
29 | install( | 27 | install( |
30 | TARGETS swaybg | 28 | TARGETS swaybg |