]> git.openstreetmap.org Git - nominatim.git/blob - cmake/script.tmpl
set CONST_LibDir directly from the source scripts
[nominatim.git] / cmake / script.tmpl
1 #!@PHP_BIN@ -Cq
2 <?php
3 @define('CONST_Default_ModulePath', '@CMAKE_BINARY_DIR@/module');
4 @define('CONST_Default_Osm2pgsql', '@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql');
5 @define('CONST_BinDir', '@CMAKE_SOURCE_DIR@/utils');
6 @define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
7
8 require_once('@CMAKE_SOURCE_DIR@/lib/admin/@script_source@');