summaryrefslogtreecommitdiffstats
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-09-27 09:39:53 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-02-11 12:02:50 +0100
commit65ad12e79ae17c72e04af03371ac32df7e37f229 (patch)
tree555c5d3d0c8f594937d061e270aa3e870a19a060 /platform/x11/detect.py
parent7458a601cecf4d6f22ffd284ebe5ec114f7f0b56 (diff)
downloadredot-engine-65ad12e79ae17c72e04af03371ac32df7e37f229.tar.gz
glslang: Disable warnings and allow unbundling
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index ddb3af79f8..9d5affcb3c 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -323,6 +323,9 @@ def configure(env):
env.Append(CPPDEFINES=['VULKAN_ENABLED'])
if not env['builtin_vulkan']:
env.ParseConfig('pkg-config vulkan --cflags --libs')
+ if not env['builtin_glslang']:
+ # No pkgconfig file for glslang so far
+ env.Append(LIBS=['glslang', 'SPIRV'])
#env.Append(CPPDEFINES=['OPENGL_ENABLED'])
env.Append(LIBS=['GL'])