From 4dcced5b29ec3c26faccfd264909cbebd5ad4f44 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 23 Nov 2022 05:59:57 +0100 Subject: Wayland+CMake: stop forcing GTK_FOUND to 0 This removes the cause of this developer's message # FIXME: This needs to be redesigned! Forcing GTK_FOUND to 0 (NO) is a bad # FIXME: idea because there could be unwanted side effects. AlbrechtS --- CMake/options.cmake | 7 ------- 1 file changed, 7 deletions(-) (limited to 'CMake') diff --git a/CMake/options.cmake b/CMake/options.cmake index 8805263c0..cf4914882 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -740,18 +740,11 @@ endif ((X11_Xft_FOUND OR NOT USE_PANGOXFT) AND OPTION_USE_PANGO) if (OPTION_USE_WAYLAND AND NOT OPTION_USE_SYSTEM_LIBDECOR) # Note: Disable OPTION_ALLOW_GTK_PLUGIN to get cairo titlebars rather than GTK - # FIXME: This needs to be redesigned! Forcing GTK_FOUND to 0 (NO) is a bad - # FIXME: idea because there could be unwanted side effects. AlbrechtS if (OPTION_ALLOW_GTK_PLUGIN) pkg_check_modules(GTK gtk+-3.0) if (GTK_FOUND) include_directories (${GTK_INCLUDE_DIRS}) endif (GTK_FOUND) - else () - if (GTK_FOUND) - message (STATUS "*** FIXME: Disable GTK plugin by forcing GTK_FOUND to 0 ***") - set (GTK_FOUND 0) - endif (GTK_FOUND) endif (OPTION_ALLOW_GTK_PLUGIN) endif (OPTION_USE_WAYLAND AND NOT OPTION_USE_SYSTEM_LIBDECOR) -- cgit v1.2.3