]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
PHP linter looks for phpcs.xml by default. Also removed a couple of exceptions that...
[nominatim.git] / CMakeLists.txt
index 1aaf05f049b73e7d63ec4b0f7644340b80ea73ba..65254b1c2cda88510eabf0905d32f5a9ceb83db6 100644 (file)
@@ -66,7 +66,6 @@ include_directories(${LIBXML2_INCLUDE_DIR})
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
-    settings/settings.php
     settings/phrase_settings.php
     website/deletable.php
     website/details.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}/${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})
 set(WEBPATHS css images js)
 
 foreach (wp ${WEBPATHS})