From ab9ca6caa8e8b0c886317fce694460ea23bcf8b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 1 Nov 2010 14:24:08 +0000 Subject: [PATCH] scons: Some pipe drivers are not portable for MSVC --- src/gallium/SConscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gallium/SConscript b/src/gallium/SConscript index 76f9ffb58ab..1b41c39a460 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -14,16 +14,21 @@ SConscript([ 'drivers/failover/SConscript', 'drivers/galahad/SConscript', 'drivers/i915/SConscript', - 'drivers/i965/SConscript', 'drivers/identity/SConscript', 'drivers/llvmpipe/SConscript', 'drivers/rbug/SConscript', - 'drivers/r300/SConscript', 'drivers/softpipe/SConscript', 'drivers/svga/SConscript', 'drivers/trace/SConscript', ]) +if not env['msvc']: + # These drivers do not build on MSVC compilers + SConscript([ + 'drivers/i965/SConscript', + 'drivers/r300/SConscript', + ]) + if env['dri']: # These drivers depend on drm headers SConscript([ -- 2.30.2