From d4679b7c3cd7b03bf3865dc1709f1d1133fb7ee1 Mon Sep 17 00:00:00 2001 From: Vanilla Date: Mon, 22 Nov 2021 18:07:19 +0800 Subject: [PATCH] [+] CMakeLists.txt: Add install phase. (#23) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31146a5..9a994d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,3 +6,7 @@ add_subdirectory(test) add_dependencies(cron_test libcron) +install(TARGETS libcron DESTINATION lib) +install(DIRECTORY libcron/include/libcron DESTINATION include) +install(DIRECTORY libcron/externals/date/include/date DESTINATION include) +