Meta: Enable Gtk UI on macOS

This commit is contained in:
Andrew Kaster 2026-05-28 12:19:54 -06:00 committed by Jelle Raaijmakers
parent 24d6b4994b
commit 076f636667
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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]

View file

@ -190,7 +190,7 @@
"dependencies": [
{
"name": "libadwaita",
"platform": "linux"
"platform": "linux | osx"
},
{
"name": "wayland",