2020-11-22 21:01:33 +00:00
|
|
|
project(pgsql2sqlite)
|
|
|
|
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
|
2020-11-21 11:24:34 +00:00
|
|
|
find_package(SQLite3 REQUIRED)
|
|
|
|
find_package(PostgreSQL REQUIRED)
|
|
|
|
|
2020-11-20 20:15:27 +00:00
|
|
|
add_executable(pgsql2sqlite
|
|
|
|
main.cpp
|
|
|
|
sqlite.cpp
|
|
|
|
)
|
|
|
|
|
2020-11-21 11:24:34 +00:00
|
|
|
target_include_directories(pgsql2sqlite PRIVATE ../../plugins/input/postgis)
|
|
|
|
target_link_libraries(pgsql2sqlite PRIVATE
|
|
|
|
SQLite::SQLite3
|
|
|
|
PostgreSQL::PostgreSQL
|
|
|
|
Boost::program_options
|
2021-03-18 14:35:55 +00:00
|
|
|
mapnik::core
|
2020-11-21 11:24:34 +00:00
|
|
|
mapnik::mapnik
|
|
|
|
)
|
|
|
|
|
2021-04-10 12:36:22 +00:00
|
|
|
mapnik_install(TARGET pgsql2sqlite)
|