mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Force GTK file dialog in official builds.
This commit is contained in:
parent
c13e433e65
commit
1ee7801c0b
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ if (TDESKTOP_API_ID STREQUAL "0" OR TDESKTOP_API_HASH STREQUAL "")
|
|||
" ")
|
||||
endif()
|
||||
|
||||
if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||
set(TDESKTOP_FORCE_GTK_FILE_DIALOG ON)
|
||||
endif()
|
||||
|
||||
if (TDESKTOP_FORCE_GTK_FILE_DIALOG AND TDESKTOP_DISABLE_GTK_INTEGRATION)
|
||||
message(FATAL_ERROR "Option TDESKTOP_FORCE_GTK_FILE_DIALOG conflicts with option TDESKTOP_DISABLE_GTK_INTEGRATION.")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue