]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
fail on execution of util scripts from source directory
[nominatim.git] / CMakeLists.txt
index 1aaf05f049b73e7d63ec4b0f7644340b80ea73ba..65254b1c2cda88510eabf0905d32f5a9ceb83db6 100644 (file)
@@ -66,7 +66,6 @@ include_directories(${LIBXML2_INCLUDE_DIR})
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
-    settings/settings.php
     settings/phrase_settings.php
     website/deletable.php
     website/details.php
@@ -92,6 +91,8 @@ foreach (cfile ${CUSTOMFILES})
     configure_file(${PROJECT_SOURCE_DIR}/${cfile} ${PROJECT_BINARY_DIR}/${cfile})
 endforeach()
 
+configure_file(${PROJECT_SOURCE_DIR}/settings/defaults.php ${PROJECT_BINARY_DIR}/settings/settings.php)
+
 set(WEBPATHS css images js)
 
 foreach (wp ${WEBPATHS})