From 996acc52537a62435769bf1f873ad0504d6cf620 Mon Sep 17 00:00:00 2001 From: zjyhjqs <141055431+zjyhjqs@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:19:41 +0800 Subject: [PATCH] Feat: add CPack support (#1950) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e27481b..61419c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,6 +299,8 @@ if(HTTPLIB_INSTALL) # ex: /usr/share/doc/httplib/README.md and /usr/share/licenses/httplib/LICENSE install(FILES "README.md" DESTINATION "${CMAKE_INSTALL_DOCDIR}") install(FILES "LICENSE" DESTINATION "${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME}") + + include(CPack) endif() if(HTTPLIB_TEST)