added correct plugin default paths
This commit is contained in:
parent
983087b5c5
commit
f027667daa
1 changed files with 7 additions and 1 deletions
|
@ -47,9 +47,15 @@ option(BUILD_UTILITY_PGSQL2SQLITE "builds the utility program pgsql2sqlite" ON)
|
|||
option(BUILD_UTILITY_SHAPEINDEX "builds the utility program shapeindex" ON)
|
||||
option(BUILD_UTILITY_SVG2PNG "builds the utility program svg2png" ON)
|
||||
|
||||
set(PLUGINS_INSTALL_DIR bin/plugins/input CACHE STRING "installs the plugins in the specified directory")
|
||||
if(WIN32)
|
||||
set(DEFAULT_PLUGINS_INSTALL_DIR bin/mapnik/input)
|
||||
else()
|
||||
set(DEFAULT_PLUGINS_INSTALL_DIR lib/mapnik/input)
|
||||
endif()
|
||||
set(PLUGINS_INSTALL_DIR ${DEFAULT_PLUGINS_INSTALL_DIR} CACHE STRING "installs the plugins in the specified directory")
|
||||
get_filename_component(ABSOLUTE_PLUGINS_INSTALL_DIR ${PLUGINS_INSTALL_DIR} ABSOLUTE)
|
||||
message("Installing plugins to ${ABSOLUTE_PLUGINS_INSTALL_DIR}")
|
||||
|
||||
set(FONTS_INSTALL_DIR bin/fonts CACHE STRING "installs the fonts in the specified directory")
|
||||
get_filename_component(ABSOLUTE_FONTS_INSTALL_DIR ${FONTS_INSTALL_DIR} ABSOLUTE)
|
||||
message("Installing fonts to ${ABSOLUTE_FONTS_INSTALL_DIR}")
|
||||
|
|
Loading…
Reference in a new issue