aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qv4l2/Makefile.am
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2017-04-03 14:53:37 +0300
committerHans Verkuil <hans.verkuil@cisco.com>2017-04-03 14:11:04 +0200
commitbd98c9a99bffc8d44c54859345e4dfee0ada4275 (patch)
treec17313a172d101e264f28094494e7bb89fe28f4b /utils/qv4l2/Makefile.am
parent984caeac9a41f8d4f636b933dfba4f29c5257f96 (diff)
buildsystem: do not assume building in source tree.
Use $(top_srcdir) as reference for include paths and buildtime scripts. Otherwise compilation outside of project root directory will fail because header and script paths are wrong. To reproduce: mkdir b; cd b; ../configure; make Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/qv4l2/Makefile.am')
-rw-r--r--utils/qv4l2/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
index fd584869..ccd1a2ab 100644
--- a/utils/qv4l2/Makefile.am
+++ b/utils/qv4l2/Makefile.am
@@ -8,7 +8,7 @@ qv4l2_SOURCES = qv4l2.cpp general-tab.cpp ctrl-tab.cpp vbi-tab.cpp capture-win.c
nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc_vbi-tab.cpp qrc_qv4l2.cpp
qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la \
../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la
-qv4l2_CPPFLAGS = -I../common
+qv4l2_CPPFLAGS = -I$(top_srcdir)/utils/common
if WITH_QTGL
qv4l2_CPPFLAGS += $(QTGL_CFLAGS)

Privacy Policy