X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/7284689b500e2af43692983cf07d4b3d2649e02b..30d76f6b18de90f49e07970a0e853c863ed2e610:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f68012f..cf76f00c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,16 +92,6 @@ if (BUILD_API OR BUILD_IMPORTER) else() message (STATUS "Using PHP binary " ${PHP_BIN}) endif() - if (NOT PHPCGI_BIN) - find_program (PHPCGI_BIN php-cgi) - endif() - # sanity check if PHP binary exists - if (NOT EXISTS ${PHPCGI_BIN}) - message(WARNING "php-cgi binary not found. nominatim tool will not provide query functions.") - set (PHPCGI_BIN "") - else() - message (STATUS "Using php-cgi binary " ${PHPCGI_BIN}) - endif() endif() #-----------------------------------------------------------------------------