mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Feat: add CPack support (#1950)
This commit is contained in:
parent
7c4799d0cf
commit
996acc5253
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue