blob: a51af717ff995a88f58d4e1e4229fa1ed579b8e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- 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
|