]> gitweb.hhaalo.de Git - discspan.git/commitdiff
add: install target in CMakeList
authorBastian Dehn <hhaalo@arcor.de>
Mon, 26 Jul 2021 15:41:06 +0000 (17:41 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 26 Jul 2021 15:41:06 +0000 (17:41 +0200)
CMakeLists.txt

index 46c0f52bcd3aec55023a107c8f7f437dede56d18..187140ce9b66afbb4a438d1f97d03c2d1dde5624 100644 (file)
@@ -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)