Commit 44a52f80 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: optional compilation of classes depending on mapnik

parent c0395ca1
......@@ -2,6 +2,10 @@
FILE(GLOB OTBCommon_SRCS "*.cxx" )
IF( NOT OTB_USE_MAPNIK )
LIST(REMOVE_ITEM OTBCommon_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/otbVectorDataStyle.cxx" )
ENDIF( NOT OTB_USE_MAPNIK )
ADD_LIBRARY(OTBCommon ${OTBCommon_SRCS})
TARGET_LINK_LIBRARIES (OTBCommon ITKAlgorithms ITKStatistics ITKCommon)
IF(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