aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-10-12 14:20:31 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-10-12 14:20:31 +0200
commitd06beedcaa5225f9a921d5fdff5d9182d9b38e08 (patch)
treeb2d1143bd70299f2348da58117f8ee14c5742ac4
parentdc3f0d6d050ed4f5dda1ab3a50647e9c5a04a2ff (diff)
downloaddesktop-tools-d06beedcaa5225f9a921d5fdff5d9182d9b38e08.tar.gz
desktop-tools-d06beedcaa5225f9a921d5fdff5d9182d9b38e08.tar.xz
desktop-tools-d06beedcaa5225f9a921d5fdff5d9182d9b38e08.zip
CMakeLists.txt: install optional targets
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0aa0760..c1cfa73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,12 +60,14 @@ target_link_libraries (wmstatus
add_threads (wmstatus)
if (WITH_USB)
+ list (APPEND targets elksmart-comm)
add_executable (elksmart-comm elksmart-comm.c)
target_include_directories (elksmart-comm PUBLIC ${libusb_INCLUDE_DIRS})
target_link_directories (elksmart-comm PUBLIC ${libusb_LIBRARY_DIRS})
target_link_libraries (elksmart-comm ${libusb_LIBRARIES})
endif ()
if (WITH_GDM)
+ list (APPEND targets gdm-switch-user)
add_executable (gdm-switch-user gdm-switch-user.c)
target_include_directories (gdm-switch-user PUBLIC ${gdm_INCLUDE_DIRS})
target_link_directories (gdm-switch-user PUBLIC ${gdm_LIBRARY_DIRS})