forked from Lainports/freebsd-ports
18 lines
785 B
Text
18 lines
785 B
Text
--- CMakeLists.txt.orig 2024-09-19 13:10:47 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -28,6 +28,7 @@ option(BUILD_COVERAGE "Build with coverage" OFF)
|
|
|
|
option(BUILD_TESTS "Build test suite" OFF)
|
|
option(BUILD_COVERAGE "Build with coverage" OFF)
|
|
+option(BUILD_GEN "Build osm2pgsql-gen" OFF)
|
|
option(WITH_LUAJIT "Build with LuaJIT support" OFF)
|
|
option(WITH_PROJ "Build with Projection support" ON)
|
|
|
|
@@ -253,7 +254,6 @@ else()
|
|
message(STATUS "Did not find opencv and/or potrace library. Not building osm2pgsql-gen.")
|
|
else()
|
|
message(STATUS "Found opencv and potrace library. Building osm2pgsql-gen.")
|
|
- set(BUILD_GEN 1)
|
|
include_directories(SYSTEM ${POTRACE_INCLUDE_DIR})
|
|
add_executable(osm2pgsql-gen src/gen/osm2pgsql-gen.cpp
|
|
src/gen/canvas.cpp
|