aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2019-02-03 01:33:39 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2019-02-04 05:23:18 -0500
commit322493235696097b94294f5f466a32f015a95626 (patch)
tree2569bac6d68f60f116ad986ca54c64f71532c71b /test
parent2e6dde7a7eae34b8f93c078480db077891f03068 (diff)
downloadPROJ-322493235696097b94294f5f466a32f015a95626.tar.gz
PROJ-322493235696097b94294f5f466a32f015a95626.zip
Use pkgconfig to find sqlite3.
Diffstat (limited to 'test')
-rw-r--r--test/unit/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am
index 34624b0d..c0a05997 100644
--- a/test/unit/Makefile.am
+++ b/test/unit/Makefile.am
@@ -4,7 +4,7 @@ EXTRA_DIST = CMakeLists.txt
noinst_HEADERS = gtest_include.h
-AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/test -I$(top_srcdir)/test/googletest/include @SQLITE3_FLAGS@
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/test -I$(top_srcdir)/test/googletest/include @SQLITE3_CFLAGS@
AM_CXXFLAGS = @CXX_WFLAGS@ @NO_ZERO_AS_NULL_POINTER_CONSTANT_FLAG@
PROJ_LIB ?= ../../data
@@ -49,13 +49,13 @@ proj_context_test-check: proj_context_test
./proj_context_test
test_cpp_api_SOURCES = test_util.cpp test_common.cpp test_crs.cpp test_metadata.cpp test_io.cpp test_operation.cpp test_datum.cpp test_factory.cpp test_c_api.cpp main.cpp
-test_cpp_api_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la @SQLITE3_LDFLAGS@
+test_cpp_api_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la @SQLITE3_LIBS@
test_cpp_api-check: test_cpp_api
PROJ_LIB=$(PROJ_LIB) ./test_cpp_api
gie_self_tests_SOURCES = gie_self_tests.cpp main.cpp
-gie_self_tests_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la @SQLITE3_LDFLAGS@
+gie_self_tests_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la @SQLITE3_LIBS@
gie_self_tests-check: gie_self_tests
PROJ_LIB=$(PROJ_LIB) ./gie_self_tests