Patches 1-3:

Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com>

On 18.04.2017 20:46, Emil Velikov wrote:
From: Emil Velikov <emil.veli...@collabora.com>

If VDPAU is installed in the non-default location, we'll fail to find
the headers and error at build time.

../../src/gallium/include/state_tracker/vdpau_dmabuf.h:37:25: fatal error: 
vdpau/vdpau.h: No such file or directory
 #include <vdpau/vdpau.h>
                         ^

Fixes: faba96bc60b ("st/vdpau: add new interop interface")
Cc: Christian König <christian.koe...@amd.com>
Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
Unrelated: I'm itching to fold the three interop headers, but that will
follow at a later stage.
---
 src/mesa/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 9710c7f0941..53f311d2a97 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -96,6 +96,7 @@ endif

 AM_CPPFLAGS = $(DEFINES) $(INCLUDE_DIRS)
 AM_CFLAGS = \
+       $(VDPAU_CFLAGS) \
        $(LLVM_CFLAGS) \
        $(VISIBILITY_CFLAGS) \
        $(MSVC2013_COMPAT_CFLAGS)



--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to