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")
if (BUILD_MODULE)
add_subdirectory(module)
+endif()
+if (BUILD_NOMINATIM)
add_subdirectory(nominatim)
endif()
if (BUILD_DOCS)