diff options
author | fadhil riyanto <me@fadev.org> | 2024-08-20 22:35:13 +0700 |
---|---|---|
committer | fadhil riyanto <me@fadev.org> | 2024-08-20 22:35:13 +0700 |
commit | d66feb7add8937807b167c8249a721870b273afd (patch) | |
tree | 6abf644aae90e21be7303bf76ea9347740248215 | |
parent | 438080eb44ba4049138d4616a07b02cd15fb3cae (diff) |
cmake: add make install
Signed-off-by: fadhil riyanto <me@fadev.org>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | CMakeLists.txt | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 |