summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRiteo <riteo@posteo.net>2022-12-27 21:47:26 +0100
committerRiteo <riteo@posteo.net>2022-12-27 21:47:26 +0100
commit3960c6b8f9fcf3d68ba6e623350100f44910977b (patch)
tree819eb80b5ee495e7c55045928127c275f06f3fe0 /platform/linuxbsd/detect.py
parentb6e06038f8a373f7fb8d26e92d5f06887e459598 (diff)
downloadredot-engine-3960c6b8f9fcf3d68ba6e623350100f44910977b.tar.gz
Allow building X11 without Vulkan
This limit was likely introduced when Vulkan was the only option.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 844b15e9fb..747dcbd76c 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -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"])