2022-08-16 21:03:56 +02:00
|
|
|
mapnik_find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
|
|
|
mapnik_find_package(SQLite3 REQUIRED)
|
|
|
|
mapnik_find_package(PostgreSQL REQUIRED)
|
2020-11-21 12:24:34 +01:00
|
|
|
|
2022-08-11 22:54:50 +02:00
|
|
|
add_executable(pgsql2sqlite
|
2020-11-20 21:15:27 +01:00
|
|
|
main.cpp
|
|
|
|
sqlite.cpp
|
|
|
|
)
|
|
|
|
|
2020-11-21 12:24:34 +01:00
|
|
|
target_include_directories(pgsql2sqlite PRIVATE ../../plugins/input/postgis)
|
2022-08-11 22:54:50 +02:00
|
|
|
target_link_libraries(pgsql2sqlite PRIVATE
|
2020-11-21 12:24:34 +01:00
|
|
|
SQLite::SQLite3
|
|
|
|
PostgreSQL::PostgreSQL
|
|
|
|
Boost::program_options
|
|
|
|
mapnik::mapnik
|
|
|
|
)
|
|
|
|
|
2021-09-22 20:49:44 +02:00
|
|
|
mapnik_install_utility(pgsql2sqlite)
|