gl/examples: add GST_PLUGINS_BASE_CFLAGS

This commit is contained in:
Matthew Waters 2014-06-12 13:37:51 +10:00 committed by Tim-Philipp Müller
parent 3a9803f31f
commit c3fb73335f
5 changed files with 6 additions and 7 deletions

View file

@ -4,6 +4,6 @@ noinst_PROGRAMS = cube
cube_SOURCES = main.cpp
cube_CXXFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
$(GST_CXXFLAGS) $(GL_CFLAGS)
$(GST_CXXFLAGS) $(GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
cube_LDADD=$(GST_LIBS) $(GL_LIBS)

View file

@ -4,6 +4,6 @@ noinst_PROGRAMS = cubeyuv
cubeyuv_SOURCES = main.cpp
cubeyuv_CXXFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
$(GST_CXXFLAGS) $(GL_CFLAGS)
$(GST_CXXFLAGS) $(GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
cubeyuv_LDADD=$(GST_LIBS) $(GL_LIBS)

View file

@ -4,6 +4,6 @@ noinst_PROGRAMS = doublecube
doublecube_SOURCES = main.cpp
doublecube_CXXFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
$(GST_CXXFLAGS) $(GL_CFLAGS)
$(GST_CXXFLAGS) $(GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
doublecube_LDADD=$(GST_LIBS) $(GL_LIBS)

View file

@ -4,6 +4,6 @@ noinst_PROGRAMS = recordgraphic
recordgraphic_SOURCES = main.cpp
recordgraphic_CXXFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
$(GST_CXXFLAGS) $(GL_CFLAGS)
$(GST_CXXFLAGS) $(GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
recordgraphic_LDADD=$(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(GST_LIBS) $(GL_LIBS)

View file

@ -7,12 +7,11 @@ noinst_PROGRAMS += sdlshare
sdlshare_SOURCES = sdlshare.c
sdlshare_CFLAGS=$(GST_VIDEO_CFLAGS) $(GST_CFLAGS) \
sdlshare_CFLAGS=$(GST_PLUGINS_BASE_CFLAGS)$(GST_CFLAGS) \
$(GL_CFLAGS) $(SDL_CFLAGS) \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs
sdlshare_LDADD=$(GST_VIDEO_LIBS) $(GST_LIBS) \
$(GL_LIBS) $(SDL_LIBS) \
sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
-lgstvideo-$(GST_API_VERSION)