summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2014-08-05 20:05:35 +0200
committerRene Engelhard <rene@debian.org>2014-08-05 20:06:17 +0200
commit97bda8e081fd746e9ef743b165b5bf621fc21fbb (patch)
tree8a7600a45cb1af03149a830995d6b57c473487bc /avmedia
parent2f247407662922fe84bcc0e2aac3372d9ca1cb7b (diff)
implement --with-system-gltf
Change-Id: Ic842006b28f8043bcbbaa81ab5a20e15aa52ac82
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/opengl/oglframegrabber.hxx4
-rw-r--r--avmedia/source/opengl/oglplayer.hxx4
-rw-r--r--avmedia/source/opengl/oglwindow.hxx4
3 files changed, 12 insertions, 0 deletions
diff --git a/avmedia/source/opengl/oglframegrabber.hxx b/avmedia/source/opengl/oglframegrabber.hxx
index 5beb15bcf308..0d382246fd29 100644
--- a/avmedia/source/opengl/oglframegrabber.hxx
+++ b/avmedia/source/opengl/oglframegrabber.hxx
@@ -14,7 +14,11 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/media/XFrameGrabber.hpp>
+#ifdef SYSTEM_LIBGLTF
+#include <libgltf/libgltf.h>
+#else
#include <libgltf.h>
+#endif
namespace avmedia { namespace ogl {
diff --git a/avmedia/source/opengl/oglplayer.hxx b/avmedia/source/opengl/oglplayer.hxx
index bb115787296f..75e2964475fa 100644
--- a/avmedia/source/opengl/oglplayer.hxx
+++ b/avmedia/source/opengl/oglplayer.hxx
@@ -14,7 +14,11 @@
#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/media/XPlayer.hpp>
+#ifdef SYSTEM_LIBGLTF
+#include <libgltf/libgltf.h>
+#else
#include <libgltf.h>
+#endif
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/timer.hxx>
diff --git a/avmedia/source/opengl/oglwindow.hxx b/avmedia/source/opengl/oglwindow.hxx
index 5697e475faf1..0802bb3afeb7 100644
--- a/avmedia/source/opengl/oglwindow.hxx
+++ b/avmedia/source/opengl/oglwindow.hxx
@@ -17,7 +17,11 @@
#include <com/sun/star/media/XPlayerWindow.hpp>
#include <com/sun/star/media/ZoomLevel.hpp>
+#ifdef SYSTEM_LIBGLTF
+#include <libgltf/libgltf.h>
+#else
#include <libgltf.h>
+#endif
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/syschild.hxx>