X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/276c43d720a3f08632acc5e06ed2db02b1de6a2e..a1f8380676ebbe531a425d663a6c562f6d1c8fec:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index e1ccae87..5aa71800 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,6 +161,11 @@ if (BUILD_API) 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() #-----------------------------------------------------------------------------