From b745ee0a10681d05f61a686e4d61c687ba9b8c48 Mon Sep 17 00:00:00 2001 From: Mateusz Loskot Date: Thu, 7 Jun 2018 23:44:00 +0200 Subject: Export proj target to scope visible for test/unit target Refines #1034 --- test/unit/basic_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/unit/basic_test.cpp') diff --git a/test/unit/basic_test.cpp b/test/unit/basic_test.cpp index 8ee82bf4..d565f839 100644 --- a/test/unit/basic_test.cpp +++ b/test/unit/basic_test.cpp @@ -27,13 +27,18 @@ ****************************************************************************/ #include "gtest_include.h" +#include +#include namespace { // --------------------------------------------------------------------------- TEST( dumy, dummy ) { - ASSERT_EQ( 1 , 1 ); + std::unique_ptr pj( + ::proj_create(PJ_DEFAULT_CTX, "+proj=merc +ellps=clrk66 +lat_ts=33"), + &::proj_destroy); + ASSERT_NE(pj, nullptr); } } // namespace -- cgit v1.2.3