]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
Search.md - update XML and JSON example output
[nominatim.git] / CMakeLists.txt
index 8200e7572beb9548ee78f412e1e2146ee80347e0..8868ea32e31ef2db8f2e3482f17c99b56ddd6109 100644 (file)
@@ -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()
 
 #-----------------------------------------------------------------------------