mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Explicitly mention, if call support is enabled at build time
fixes #366
This commit is contained in:
parent
1db68109fc
commit
236bf09a0e
1 changed files with 9 additions and 0 deletions
|
@ -446,6 +446,15 @@ endif()
|
||||||
|
|
||||||
include(FindPkgConfig)
|
include(FindPkgConfig)
|
||||||
pkg_check_modules(GSTREAMER IMPORTED_TARGET gstreamer-sdp-1.0>=1.14 gstreamer-webrtc-1.0>=1.14)
|
pkg_check_modules(GSTREAMER IMPORTED_TARGET gstreamer-sdp-1.0>=1.14 gstreamer-webrtc-1.0>=1.14)
|
||||||
|
if (TARGET PkgConfig::GSTREAMER)
|
||||||
|
add_feature_info(voip ON "GStreamer found. Call support is enabled
|
||||||
|
automatically.")
|
||||||
|
else()
|
||||||
|
add_feature_info(voip OFF "GStreamer could not be found on your system.
|
||||||
|
As a consequence call support has been disabled. If you don't want that,
|
||||||
|
make sure gstreamer-sdp-1.0>=1.16 gstreamer-webrtc-1.0>=1.16 can be found
|
||||||
|
via pkgconfig.")
|
||||||
|
endif()
|
||||||
|
|
||||||
# single instance functionality
|
# single instance functionality
|
||||||
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
|
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
|
||||||
|
|
Loading…
Reference in a new issue