scons: Add u_format_pack.h include path.
authorJose Fonseca <jose.r.fonseca@gmail.com>
Wed, 24 Feb 2021 19:40:25 +0000 (19:40 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Feb 2021 20:48:47 +0000 (20:48 +0000)
Fixes MSVC SCons build.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9263>

src/util/SConscript

index a4cbc2f..d76c018 100644 (file)
@@ -17,6 +17,7 @@ env.Prepend(CPPPATH = [
     '#src/gallium/auxiliary',
     '#src/util',
     '#src/util/format',
+    env.Dir('..'), # Build path corresponding to src
     env.Dir('format'), # Build path corresponding to src/util/format
 ])