mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 19:25:12 +00:00
Add options to build DEB and RPM packages
This commit is contained in:
parent
d1992ce19f
commit
2d714a93b3
2 changed files with 12 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ set(INSTALL_CMAKE_DIR lib/cmake/LibWebRTC CACHE PATH "Installation directory for
|
|||
|
||||
if (UNIX)
|
||||
set(INSTALL_PKGCONFIG_DIR lib/pkgconfig CACHE PATH "Installation directory for pkg-config script")
|
||||
if (NOT APPLE)
|
||||
option(BUILD_DEB_PACKAGE "Build Debian .deb package" OFF)
|
||||
option(BUILD_RPM_PACKAGE "Build Red Hat .rpm package" OFF)
|
||||
endif (NOT APPLE)
|
||||
endif (UNIX)
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -151,6 +151,14 @@ The library will be compiled and usable on the same host's platform and
|
|||
architecture. Here are some CMake flags which could be useful if you need to
|
||||
perform cross-compiling.
|
||||
|
||||
- **BUILD_DEB_PACKAGE**
|
||||
|
||||
Generate Debian package, defaults to OFF, available under Linux only.
|
||||
|
||||
- **BUILD_RPM_PACKAGE**
|
||||
|
||||
Generate Red Hat package, defaults to OFF, available under Linux only.
|
||||
|
||||
- **BUILD_TESTS**
|
||||
|
||||
Build WebRTC tests. (not supported yet)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue