1
0
Fork 0

Add DESKTOP_APP_DISABLE_GTK_INTEGRATION

This commit is contained in:
Ilya Fedin 2021-02-19 08:45:15 +04:00 committed by John Preston
parent d888e1d4b5
commit 540828a077
2 changed files with 8 additions and 0 deletions

View file

@ -34,6 +34,13 @@ if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
)
endif()
if (DESKTOP_APP_DISABLE_GTK_INTEGRATION)
target_compile_definitions(common_options
INTERFACE
DESKTOP_APP_DISABLE_GTK_INTEGRATION
)
endif()
if (DESKTOP_APP_USE_PACKAGED)
target_compile_definitions(common_options
INTERFACE

View file

@ -30,6 +30,7 @@ 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_GTK_INTEGRATION "Disable all code for GTK integration (Linux only)." 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)