add postgis to unit tests

This commit is contained in:
Mathis Logemann 2021-03-25 18:42:17 +01:00
parent 0ab47e1fc6
commit eb943d11d0

View file

@ -1,6 +1,7 @@
project(mapnik-test) project(mapnik-test)
find_package(Boost 1.74 REQUIRED COMPONENTS program_options) find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
find_package(PostgreSQL REQUIRED)
include(FetchContent) include(FetchContent)
include(CopyDllsForDebug) include(CopyDllsForDebug)
@ -113,6 +114,7 @@ target_link_libraries(mapnik-test-unit PUBLIC
mapnik::mapnik mapnik::mapnik
mapnik::json mapnik::json
mapnik::wkt mapnik::wkt
PostgreSQL::PostgreSQL
) )
add_executable(agg_rasterizer_integer_overflow_test standalone/agg_rasterizer_integer_overflow_test.cpp) add_executable(agg_rasterizer_integer_overflow_test standalone/agg_rasterizer_integer_overflow_test.cpp)