X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ebffa15c7c9a3c8b924794690edb9748f0c2d318..40bc1752c26635ffd05dbb6113cb4ff6775f420a:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 787baeb2..43721cc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,6 +146,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() #-----------------------------------------------------------------------------