Skip to content
Snippets Groups Projects
Commit 6724b502 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Correction sur les exemples : ajout de ${OTB_VISU_GUI_LIBRARIES} dans...

Correction sur les exemples  : ajout de ${OTB_VISU_GUI_LIBRARIES} dans TARGET_LINK_LIBRARIES + ajout option IF(OTB_VISU_GUI)
parent 491f943f
Branches
Tags
No related merge requests found
......@@ -18,8 +18,10 @@ TARGET_LINK_LIBRARIES(ScalingPipeline OTBCommon OTBIO)
ADD_EXECUTABLE(SmarterFilteringPipeline SmarterFilteringPipeline.cxx )
TARGET_LINK_LIBRARIES(SmarterFilteringPipeline OTBCommon OTBIO)
ADD_EXECUTABLE(SimpleViewer SimpleViewer.cxx )
TARGET_LINK_LIBRARIES(SimpleViewer OTBCommon OTBIO OTBGui OTBVisu)
IF(OTB_USE_VISU)
ADD_EXECUTABLE(SimpleViewer SimpleViewer.cxx )
TARGET_LINK_LIBRARIES(SimpleViewer OTBCommon OTBIO OTBGui OTBVisu ${OTB_VISU_GUI_LIBRARIES})
ENDIF(OTB_USE_VISU)
ADD_EXECUTABLE(OrthoFusion OrthoFusion.cxx )
TARGET_LINK_LIBRARIES(OrthoFusion OTBFusion OTBProjections OTBCommon OTBIO)
......
......@@ -2,6 +2,6 @@ PROJECT(VisuExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(VisuExample1 VisuExample1.cxx )
TARGET_LINK_LIBRARIES(VisuExample1 OTBVisu OTBGui OTBIO OTBCommon ITKIO ITKCommon)
TARGET_LINK_LIBRARIES(VisuExample1 OTBVisu OTBGui OTBIO OTBCommon ITKIO ITKCommon ${OTB_VISU_GUI_LIBRARIES})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment