diff --git a/Meta/CMake/gui_framework.cmake b/Meta/CMake/gui_framework.cmake index 2b2c066c58..19de911121 100644 --- a/Meta/CMake/gui_framework.cmake +++ b/Meta/CMake/gui_framework.cmake @@ -3,7 +3,7 @@ if (ANDROID OR VCPKG_TARGET_ANDROID) set(_possible_guis "Android") set(_default_gui "Android") elseif (APPLE) - set(_possible_guis "AppKit" "Qt") + set(_possible_guis "AppKit" "Gtk" "Qt") set(_default_gui "AppKit") else() set(_possible_guis "Qt" "Gtk") diff --git a/Meta/Utils/host_platform.py b/Meta/Utils/host_platform.py index 29e00021ef..334007be5f 100644 --- a/Meta/Utils/host_platform.py +++ b/Meta/Utils/host_platform.py @@ -101,7 +101,7 @@ class Platform: Keep in sync with Meta/CMake/gui_framework.cmake """ if self.host_system == HostSystem.macOS: - return [GUIFramework.Qt, GUIFramework.AppKit] + return [GUIFramework.Qt, GUIFramework.AppKit, GUIFramework.Gtk] if self.host_system in (HostSystem.Linux, HostSystem.BSD): return [GUIFramework.Qt, GUIFramework.Gtk] return [GUIFramework.Qt] diff --git a/vcpkg.json b/vcpkg.json index 484af795d6..7494963a9f 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -190,7 +190,7 @@ "dependencies": [ { "name": "libadwaita", - "platform": "linux" + "platform": "linux | osx" }, { "name": "wayland",