From: Bastian Dehn Date: Mon, 26 Jul 2021 15:41:06 +0000 (+0200) Subject: add: install target in CMakeList X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=53aa53d969bc25411f46c9a73ffcb0f762ad7a60;p=discspan.git add: install target in CMakeList --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 46c0f52..187140c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,3 +14,4 @@ set(SOURCES discspan.c readfile.c splitter.c help.c) add_executable(discspan ${SOURCES}) target_link_libraries(discspan m) +install(TARGETS discspan DESTINATION /usr/local/bin)