Respect TDESKTOP_DISABLE_GTK_INTEGRATION.

This commit is contained in:
John Preston 2019-12-06 17:46:11 +03:00
parent fd1a8014c4
commit aea5a8ff76
1 changed files with 24 additions and 22 deletions

View File

@ -1009,6 +1009,7 @@ elseif (APPLE)
endif()
endif()
elseif (LINUX)
if (NOT TDESKTOP_DISABLE_GTK_INTEGRATION)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
@ -1036,6 +1037,7 @@ elseif (LINUX)
if (NOT ${appindicator_found})
message(FATAL_ERROR "No libappindicator found by pkg-config.")
endif()
endif()
endif()
if (build_macstore)