aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-05-19 08:56:49 +0000
committerAndre Heinecke <[email protected]>2016-05-19 08:56:49 +0000
commit375523ead3a749d77d286c56f10d403c07f2b014 (patch)
tree23bcff8ec291c8fc24c3b20699265499d2daff7f /lang/qt/tests
parentpython: Various fixes. (diff)
downloadgpgme-375523ead3a749d77d286c56f10d403c07f2b014.tar.gz
gpgme-375523ead3a749d77d286c56f10d403c07f2b014.zip
Qt: Fix compilation of unit tests
* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Add -DBUILDING_QGPGME. -- Without building QGpgME the headers of gpgme++ are not included corretly and taken from an already installed gpgme++.
Diffstat (limited to 'lang/qt/tests')
-rw-r--r--lang/qt/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 4a14e63d..7658a73a 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -36,7 +36,7 @@ LDADD = ../../cpp/src/libgpgmepp.la ../src/libqgpgme.la \
AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ \
@GPGME_QT_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
- @GPGME_QTTEST_CFLAGS@ \
+ @GPGME_QTTEST_CFLAGS@ -DBUILDING_QGPGME \
-I$(top_srcdir)/lang/cpp/src -I$(top_srcdir)/lang/qt/src \
-DTOP_SRCDIR="$(top_srcdir)"