summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 222c609..660f238 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,4 +125,11 @@ target_link_libraries(test
config
logger)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) \ No newline at end of file
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+#
+## Install target
+#
+install(TARGETS ${PROJECT_NAME}
+ RUNTIME DESTINATION bin)
+install(FILES doc/${PROJECT_NAME}.1 DESTINATION man/man1)