From e5bc15f20deb8cba1e79b324a3056ec9e7ecefdc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 25 Sep 2015 20:05:18 +0100 Subject: Use system dbpp --- libpqpp/unittests/Jamfile.jam | 7 ++++++- libpqpp/unittests/testpq.cpp | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'libpqpp/unittests') diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam index 39d0576..66c4b49 100644 --- a/libpqpp/unittests/Jamfile.jam +++ b/libpqpp/unittests/Jamfile.jam @@ -3,6 +3,9 @@ import testing ; path-constant me : . ; lib boost_utf : : boost_unit_test_framework ; +lib boost_filesystem ; +lib boost_system ; +lib dbpptestcore : : : : /usr/include/dbpp ; run testpq.cpp @@ -10,8 +13,10 @@ run ROOT=\"$(me)\" BOOST_TEST_DYN_LINK ..//dbpp-postgresql - ../../libdbpp//dbpptestcore + dbpptestcore boost_utf + boost_filesystem + boost_system : testpq ; diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index 58441d2..3942cfd 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "mock.h" #include #include -- cgit v1.2.3