Skip to content

Commit

Permalink
Feat: add CPack support
Browse files Browse the repository at this point in the history
  • Loading branch information
zjyhjqs committed Sep 22, 2024
1 parent 7c4799d commit b5a0798
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b5a0798

Please sign in to comment.