Force GTK file dialog in official builds.

This commit is contained in:
John Preston 2019-12-30 14:20:12 +03:00
parent c13e433e65
commit 1ee7801c0b
1 changed files with 4 additions and 0 deletions

View File

@ -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()