X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/01e0fd7e134bedf1b791b18725531b7a5e21e432..0b2abfb11570de36fd73a6c43c333aeb78d42a97:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index d579bf1a..f7d396d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,20 +57,11 @@ endif() #----------------------------------------------------------------------------- -# python and pyosmium (imports/updates only) +# python (imports/updates only) #----------------------------------------------------------------------------- if (BUILD_IMPORTER) find_package(PythonInterp 3.5 REQUIRED) - - find_program(PYOSMIUM pyosmium-get-changes) - if (NOT EXISTS "${PYOSMIUM}") - set(PYOSMIUM_PATH "") - message(WARNING "pyosmium-get-changes not found (required for updates)") - else() - set(PYOSMIUM_PATH "${PYOSMIUM}") - message(STATUS "Using pyosmium-get-changes at ${PYOSMIUM_PATH}") - endif() endif() #----------------------------------------------------------------------------- @@ -126,22 +117,6 @@ if (BUILD_IMPORTER) ${PROJECT_BINARY_DIR}/nominatim) endif() -#----------------------------------------------------------------------------- -# Targets for running a development webserver from the build directory. -#----------------------------------------------------------------------------- - -if (BUILD_API) - add_custom_target(serve - php -S 127.0.0.1:8088 - WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website - ) - - add_custom_target(serve-global - php -S 0.0.0.0:8088 - WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website - ) -endif() - #----------------------------------------------------------------------------- # Tests #-----------------------------------------------------------------------------