Separate Nominatim build

This commit is contained in:
Eldar Yusupov 2019-10-23 06:27:34 +03:00
parent 314de3c3c0
commit 92d1f5122b

View File

@ -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)