mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 07:01:06 +00:00
[Linux] Fix build with missing DBUS.
This commit is contained in:
parent
5ca09b322c
commit
d6a9384a32
1 changed files with 1 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ def configure(env):
|
||||||
env.Append(CPPDEFINES=["DBUS_ENABLED"])
|
env.Append(CPPDEFINES=["DBUS_ENABLED"])
|
||||||
env.ParseConfig("pkg-config dbus-1 --cflags") # Only cflags, we dlopen the library.
|
env.ParseConfig("pkg-config dbus-1 --cflags") # Only cflags, we dlopen the library.
|
||||||
else:
|
else:
|
||||||
|
env["dbus"] = False
|
||||||
print("Warning: D-Bus development libraries not found. Disabling screensaver prevention.")
|
print("Warning: D-Bus development libraries not found. Disabling screensaver prevention.")
|
||||||
|
|
||||||
if env["speechd"]:
|
if env["speechd"]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue