mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 05:35:13 +03:00
Separate Nominatim build
This commit is contained in:
parent
314de3c3c0
commit
92d1f5122b
@ -37,7 +37,8 @@ set(BUILD_TESTS off CACHE BOOL "Build test suite" FORCE)
|
||||
set(WITH_LUA off CACHE BOOL "Build with lua support" FORCE)
|
||||
set(BUILD_DOCS on CACHE BOOL "Build documentation")
|
||||
set(BUILD_SERVER on CACHE BOOL "Build API server")
|
||||
set(BUILD_MODULE on CACHE BOOL "Build module")
|
||||
set(BUILD_MODULE on CACHE BOOL "Build PostgreSQL module")
|
||||
set(BUILD_NOMINATIM on CACHE BOOL "Build Nominatim executable")
|
||||
|
||||
if (BUILD_SERVER)
|
||||
if (NOT EXISTS "${CMAKE_SOURCE_DIR}/osm2pgsql/CMakeLists.txt")
|
||||
@ -147,6 +148,8 @@ endif()
|
||||
|
||||
if (BUILD_MODULE)
|
||||
add_subdirectory(module)
|
||||
endif()
|
||||
if (BUILD_NOMINATIM)
|
||||
add_subdirectory(nominatim)
|
||||
endif()
|
||||
if (BUILD_DOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user