forked from hans/Nominatim
configure osm2pgsql and module location via cmake
The default location of osm2pgsql and the postgresql module is decided at compile/installation time and is not necessarily in the project directory. With this change it is now possible to have a project directory that is completely separate from the build directory.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!@PHP_BIN@ -Cq
|
||||
<?php
|
||||
@define('CONST_Default_ModulePath', '@CMAKE_BINARY_DIR@/module');
|
||||
@define('CONST_Default_Osm2pgsql', '@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql');
|
||||
@define('CONST_BinDir', '@CMAKE_SOURCE_DIR@/utils');
|
||||
@define('CONST_LibDir', '@CMAKE_SOURCE_DIR@/lib');
|
||||
@define('CONST_DataDir', '@CMAKE_SOURCE_DIR@');
|
||||
|
||||
Reference in New Issue
Block a user