This commit is contained in:
Mars 2025-04-25 14:40:45 -04:00
parent c9ea3821b6
commit 88c242b34b
8 changed files with 30 additions and 49 deletions

View file

@ -135,7 +135,6 @@ elif host_system == 'linux'
dependency('xdmcp'),
dependency('wayland-client'),
dependency('sigc++-3.0', include_type : 'system'),
dependency('dbus-cxx', include_type : 'system'),
]
endif
@ -159,6 +158,14 @@ if not ftxui_dep.found()
)
endif
dbus_cxx_dep = dependency('dbus-cxx', include_type : 'system', required : false)
if not dbus_cxx_dep.found()
cmake = import('cmake')
dbus_cxx_proj = cmake.subproject('dbus_cxx')
dbus_cxx_dep = dbus_cxx_proj.dependency('dbus_cxx', include_type : 'system')
endif
glaze_dep = dependency('glaze', include_type : 'system', required : false)
if not glaze_dep.found()
@ -168,7 +175,7 @@ if not glaze_dep.found()
endif
# Combine all dependencies
deps = common_deps + platform_deps + ftxui_dep + glaze_dep
deps = common_deps + platform_deps + ftxui_dep + dbus_cxx_dep + glaze_dep
# ------------------------- #
# Link/ObjC Configuration #