Merge pull request #70677 from Riteo/x11-no-vulkan

Allow building X11 without Vulkan
This commit is contained in:
Rémi Verschelde 2023-01-03 12:05:16 +01:00
commit e56b16f010
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 3 deletions

View File

@ -339,9 +339,6 @@ def configure(env: "Environment"):
env.Prepend(CPPPATH=["#platform/linuxbsd"])
if env["x11"]:
if not env["vulkan"]:
print("Error: X11 support requires vulkan=yes")
env.Exit(255)
env.Append(CPPDEFINES=["X11_ENABLED"])
env.Append(CPPDEFINES=["UNIX_ENABLED"])