mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
introduce InstallPath, so that stuff can be executed from build dir
This commit is contained in:
@@ -53,6 +53,26 @@ find_package(BZip2 REQUIRED)
|
||||
find_package(LibXml2 REQUIRED)
|
||||
include_directories(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
#
|
||||
# Setup settings and paths
|
||||
#
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
configure_file(
|
||||
${PROJECT_SOURCE_DIR}/settings/settings.php
|
||||
${PROJECT_BINARY_DIR}/settings/settings.php
|
||||
)
|
||||
|
||||
configure_file(
|
||||
${PROJECT_SOURCE_DIR}/settings/phrase_settings.php
|
||||
${PROJECT_BINARY_DIR}/settings/phrase_settings.php
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND ln -s -t ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/utils
|
||||
)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
add_subdirectory(module)
|
||||
|
||||
Reference in New Issue
Block a user