Commit 33170cdb authored by Emmanuel Christophe's avatar Emmanuel Christophe

ENH: configuration for mapnik (considered as EXPERIMENTAL)

parent 44a52f80
......@@ -328,7 +328,7 @@ ENDIF(OTB_USE_CURL)
#-------------------------------
# Mapnik Library
#-------------------------------
OPTION(OTB_USE_MAPNIK "Use mapnik library." OFF)
OPTION(OTB_USE_MAPNIK "Use mapnik library (EXPERIMENTAL)." OFF)
MARK_AS_ADVANCED(OTB_USE_MAPNIK)
IF(OTB_USE_MAPNIK)
......
......@@ -8,6 +8,11 @@ ENDIF( NOT OTB_USE_MAPNIK )
ADD_LIBRARY(OTBCommon ${OTBCommon_SRCS})
TARGET_LINK_LIBRARIES (OTBCommon ITKAlgorithms ITKStatistics ITKCommon)
IF (OTB_USE_MAPNIK)
#TODO this line should be refined when we will like to have this capability with windows
TARGET_LINK_LIBRARIES(OTBCommon ${MAPNIK_LIBRARY}/libmapnik.so)
ENDIF(OTB_USE_MAPNIK)
IF(OTB_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(OTBCommon PROPERTIES ${OTB_LIBRARY_PROPERTIES})
ENDIF(OTB_LIBRARY_PROPERTIES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment