Meta: Enable Gtk UI on macOS
This commit is contained in:
parent
24d6b4994b
commit
076f636667
3 changed files with 3 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@
|
|||
"dependencies": [
|
||||
{
|
||||
"name": "libadwaita",
|
||||
"platform": "linux"
|
||||
"platform": "linux | osx"
|
||||
},
|
||||
{
|
||||
"name": "wayland",
|
||||
|
|
|
|||
Loading…
Reference in a new issue