diff --git a/CMakeLists.txt b/CMakeLists.txt index b62db78..61dd1cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,3 +24,9 @@ if (TEST) enable_testing() add_subdirectory(tests) endif() + + +install(FILES include/logging.h DESTINATION include) +install(FILES include/logging/logging-core.h DESTINATION include/logging) +install(FILES include/logging/logging-filter.h DESTINATION include/logging) +install(FILES include/logging/logging-handler.h DESTINATION include/logging) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 30a7898..991bba3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,3 +11,4 @@ else() add_library(${PROJECT_NAME} ${SRC}) endif() +install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib) \ No newline at end of file