[libgda: 1/2] Fixing out of source tests build
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda: 1/2] Fixing out of source tests build
- Date: Fri, 6 Apr 2018 19:00:53 +0000 (UTC)
commit 3d01683ee86b8dd45633a82ee4ab2eb5aa6156c5
Author: Pavlo Solntsev <p sun fun gmail com>
Date: Wed Apr 4 13:42:29 2018 -0500
Fixing out of source tests build
virtual/libgda-virtual.h is not visible in an out-of-source directory.
It is generated from the corresponding *.h.in file and stored in the
build directory. Corresponding path was added to the corresponding
CFLAGS variable.
tests/data-models/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tests/data-models/Makefile.am b/tests/data-models/Makefile.am
index cff9df1e1..c83f1720f 100644
--- a/tests/data-models/Makefile.am
+++ b/tests/data-models/Makefile.am
@@ -23,6 +23,7 @@ check_model_import_LDADD = \
check_virtual_SOURCES = $(common_sources) check_virtual.c
check_virtual_CFLAGS = \
-I$(top_srcdir)/libgda/sqlite \
+ -I$(top_builddir)/libgda/sqlite \
-I$(top_srcdir)/libgda/sqlite/virtual
check_virtual_LDADD = \
$(top_builddir)/libgda/libgda-6.0.la \
@@ -53,6 +54,7 @@ check_empty_rs_LDADD = \
check_model_errors_SOURCES = $(common_sources) check_model_errors.c
check_model_errors_CFLAGS = \
+ -I$(top_builddir)/libgda/sqlite \
-I$(top_srcdir)/libgda/sqlite
check_model_errors_LDADD = \
$(top_builddir)/libgda/libgda-6.0.la \
@@ -62,6 +64,7 @@ check_model_errors_LDADD = \
check_vcnc_SOURCES = $(common_sources) check_vcnc.c
check_vcnc_CFLAGS = \
-I$(top_srcdir)/libgda/sqlite \
+ -I$(top_builddir)/libgda/sqlite \
-I$(top_srcdir)/libgda/sqlite/vcnc
check_vcnc_LDADD = \
$(top_builddir)/libgda/libgda-6.0.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]