1
0
Fork 0

Clean up DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION

This commit is contained in:
Nicholas Guriev 2021-02-01 18:26:56 +03:00
parent 561273a2f8
commit 695fabda68
3 changed files with 1 additions and 11 deletions

View file

@ -63,9 +63,7 @@ if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
endif()
add_checked_subdirectory(ton)
add_checked_subdirectory(variant)
if (NOT DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION)
add_checked_subdirectory(webrtc)
endif()
add_checked_subdirectory(webrtc)
if (LINUX)
add_checked_subdirectory(xcb)
endif()

View file

@ -33,13 +33,6 @@ if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
)
endif()
if (DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION)
target_compile_definitions(common_options
INTERFACE
DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION
)
endif()
if (DESKTOP_APP_USE_PACKAGED)
target_compile_definitions(common_options
INTERFACE

View file

@ -30,7 +30,6 @@ endif()
option(DESKTOP_APP_LOTTIE_USE_CACHE "Use caching in lottie animations." ON)
option(DESKTOP_APP_DISABLE_DBUS_INTEGRATION "Disable all code for D-Bus integration (Linux only)." OFF)
option(DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION "Disable all code for Wayland integration (Linux only)." OFF)
option(DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION "Disable all code for WebRTC integration." OFF)
option(DESKTOP_APP_USE_GLIBC_WRAPS "Use wraps for new GLIBC features." OFF)
option(DESKTOP_APP_USE_PACKAGED "Find libraries using CMake instead of exact paths." ${no_special_target})
option(DESKTOP_APP_USE_PACKAGED_LAZY "Bundle recommended Qt plugins for self-contained packages. (Linux only)" OFF)