From 7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 17 Feb 2014 02:12:12 +0100 Subject: Make install rule --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3