]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge remote-tracking branch 'upstream/master'
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 6 Nov 2021 11:12:16 +0000 (12:12 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 6 Nov 2021 11:12:16 +0000 (12:12 +0100)
1  2 
CMakeLists.txt

diff --combined CMakeLists.txt
index 052695c6eb3bbf491958c745d244b7c0db800fbe,b7591ec3ada8e7cc43730dd7a9b525633a207866..8adc0be04ee949c44cf6ade64d628c46ff337f84
@@@ -18,8 -18,8 +18,8 @@@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_
  
  project(nominatim)
  
- set(NOMINATIM_VERSION_MAJOR 3)
- set(NOMINATIM_VERSION_MINOR 7)
+ set(NOMINATIM_VERSION_MAJOR 4)
+ set(NOMINATIM_VERSION_MINOR 0)
  set(NOMINATIM_VERSION_PATCH 0)
  
  set(NOMINATIM_VERSION "${NOMINATIM_VERSION_MAJOR}.${NOMINATIM_VERSION_MINOR}.${NOMINATIM_VERSION_PATCH}")
@@@ -114,27 -114,6 +114,27 @@@ if (BUILD_IMPORTER
                    ${PROJECT_BINARY_DIR}/nominatim)
  endif()
  
 +#-----------------------------------------------------------------------------
 +# Targets for running a development webserver from the build directory.
 +#-----------------------------------------------------------------------------
 +
 +if (BUILD_API)
 +   set(WEBSITEFILES
 +       403.html
 +       509.html
 +       crossdomain.xml
 +       favicon.ico
 +       nominatim.xml
 +       robots.txt
 +       taginfo.json
 +   )
 +
 +   foreach (webfile ${WEBSITEFILES})
 +       configure_file(${PROJECT_SOURCE_DIR}/website/${webfile}
 +                      ${PROJECT_BINARY_DIR}/website/${webfile})
 +   endforeach()
 +endif()
 +
  #-----------------------------------------------------------------------------
  # Tests
  #-----------------------------------------------------------------------------