summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/targets/xorg-vmwgfx/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/xorg-vmwgfx/SConscript b/src/gallium/targets/xorg-vmwgfx/SConscript
index 20d851742a..f9172aae68 100644
--- a/src/gallium/targets/xorg-vmwgfx/SConscript
+++ b/src/gallium/targets/xorg-vmwgfx/SConscript
@@ -6,6 +6,9 @@ env = env.Clone()
env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server')
+if env['kms']:
+ env.ParseConfig('pkg-config --cflags --libs libkms')
+
env.Prepend(CPPPATH = [
'#/include',
'#/src/gallium',