aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qv4l2/Makefile.am
diff options
context:
space:
mode:
authorBård Eirik Winther <bwinther@cisco.com>2013-08-08 11:31:19 +0000
committerHans Verkuil <hans.verkuil@cisco.com>2013-08-08 14:46:35 +0200
commitc19054b6e47d10b28af53f7c026f900067317c07 (patch)
treec1f13a7497690310d5d4af5dec8de8312e44e56a /utils/qv4l2/Makefile.am
parent2759e0a24f67953355462d30975ed5141da98895 (diff)
qv4l2: generalized opengl include guards
Created a general QtGL makefile condition and using config.h to check in code if QtGL is present. Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/qv4l2/Makefile.am')
-rw-r--r--utils/qv4l2/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
index 3aed18c2..58ac0977 100644
--- a/utils/qv4l2/Makefile.am
+++ b/utils/qv4l2/Makefile.am
@@ -7,8 +7,8 @@ nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc
qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ../libv4l2util/libv4l2util.la \
../libmedia_dev/libmedia_dev.la
-if WITH_QV4L2_GL
-qv4l2_CPPFLAGS = $(QTGL_CFLAGS) -DENABLE_GL
+if WITH_QTGL
+qv4l2_CPPFLAGS = $(QTGL_CFLAGS)
qv4l2_LDFLAGS = $(QTGL_LIBS)
else
qv4l2_CPPFLAGS = $(QT_CFLAGS)

Privacy Policy