mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-04 00:02:01 -04:00
add cpack (for .deb packages) (#1362)
This commit is contained in:
parent
da0dd47c5d
commit
1d76b2e6a1
@ -202,3 +202,14 @@ if(NOT ${OQS_BUILD_ONLY_LIB})
|
||||
USES_TERMINAL)
|
||||
endif()
|
||||
endif()
|
||||
set(CPACK_GENERATOR "DEB")
|
||||
set(CPACK_PACKAGE_VENDOR "www.openquantumsafe.org")
|
||||
set(CPACK_PACKAGE_VERSION ${OQS_VERSION_TEXT})
|
||||
if(${OQS_USE_OPENSSL})
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, openssl")
|
||||
else()
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6")
|
||||
endif()
|
||||
|
||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "www.openquantumsafe.org")
|
||||
include(CPack)
|
||||
|
@ -128,7 +128,8 @@ The following instructions assume we are in `build`.
|
||||
|
||||
Then open `docs/doxygen/html/index.html` in your web browser.
|
||||
|
||||
4. Finally, `ninja install` can be run to install the built library and `include` files to a location of choice, which can be specified by passing the `-DCMAKE_INSTALL_PREFIX=<dir>` option to `cmake` at configure time.
|
||||
4. `ninja install` can be run to install the built library and `include` files to a location of choice, which can be specified by passing the `-DCMAKE_INSTALL_PREFIX=<dir>` option to `cmake` at configure time. Alternatively, `ninja package` can be run to create an install package.
|
||||
|
||||
|
||||
### Windows
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user