summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-08-20 22:35:13 +0700
committerfadhil riyanto <me@fadev.org>2024-08-20 22:35:13 +0700
commitd66feb7add8937807b167c8249a721870b273afd (patch)
tree6abf644aae90e21be7303bf76ea9347740248215
parent438080eb44ba4049138d4616a07b02cd15fb3cae (diff)
cmake: add make install
Signed-off-by: fadhil riyanto <me@fadev.org>
-rw-r--r--.gitignore1
-rw-r--r--CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 378eac2..d835f77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
build
+.cache \ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f934e75..9de2400 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,3 +11,5 @@ target_link_libraries(xsetrootd -lnotify)
add_executable(test_notify notify.c)
include_directories(test_notify PRIVATE /usr/include/glib-2.0/ /usr/lib/glib-2.0/include/ /usr/include/gdk-pixbuf-2.0/)
target_link_libraries(test_notify -lnotify)
+
+install(TARGETS xsetrootd DESTINATION /usr/bin/) \ No newline at end of file