From d66feb7add8937807b167c8249a721870b273afd Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Tue, 20 Aug 2024 22:35:13 +0700 Subject: cmake: add make install Signed-off-by: fadhil riyanto --- .gitignore | 1 + CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3