diff options
| author | Drew DeVault <sir@cmpwn.com> | 2015-12-10 07:52:24 -0500 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2015-12-10 07:52:24 -0500 |
| commit | c422529ea34ad53d15f88ffda0e5f22770d08db6 (patch) | |
| tree | 69a292ca4ba1f1df11bbd3fbe77035f19d788868 /CMakeLists.txt | |
Add swaylock subproject
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..69fe425 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,29 @@ +include_directories( + ${PROTOCOLS_INCLUDE_DIRS} + ${WAYLAND_CLIENT_INCLUDE_DIR} + ${CAIRO_INCLUDE_DIRS} + ${GDK_PIXBUF_INCLUDE_DIRS} + ${PANGO_INCLUDE_DIRS} +) + +add_executable(swaylock + main.c +) + +target_link_libraries(swaylock + sway-common + sway-wayland + ${WAYLAND_CLIENT_LIBRARIES} + ${WAYLAND_CURSOR_LIBRARIES} + ${CAIRO_LIBRARIES} + ${GDK_PIXBUF_LIBRARIES} + ${PANGO_LIBRARIES} + m +) + +install( + TARGETS swaylock + RUNTIME + DESTINATION bin + COMPONENT runtime +) |
