Force GTK file dialog in official builds.
This commit is contained in:
parent
c13e433e65
commit
1ee7801c0b
|
@ -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…
Reference in New Issue