summaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index bd5e5e0812..5f43d19151 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -318,7 +318,9 @@ def configure(env):
env.ParseConfig('pkg-config zlib --cflags --libs')
env.Prepend(CPPPATH=['#platform/x11'])
- env.Append(CPPDEFINES=['X11_ENABLED', 'UNIX_ENABLED', 'OPENGL_ENABLED', 'GLES_ENABLED'])
+ env.Append(CPPDEFINES=['X11_ENABLED', 'UNIX_ENABLED'])
+ env.Append(CPPDEFINES=['VULKAN_ENABLED'])
+ env.Append(LIBS=['vulkan'])
env.Append(LIBS=['GL', 'pthread'])
if (platform.system() == "Linux"):