Commit 2ec82ef4 authored by Arnaud Jaen's avatar Arnaud Jaen

BUG: TrainMachineLearningImagesClassifier is now compiled only if OTB_USE_OPENCV is ON

parent acb3e4d7
......@@ -34,6 +34,8 @@ OTB_CREATE_APPLICATION(NAME ClassificationMapRegularization
SOURCES otbClassificationMapRegularization.cxx
LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters)
OTB_CREATE_APPLICATION(NAME TrainMachineLearningImagesClassifier
SOURCES otbTrainMachineLearningImagesClassifier.cxx
LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters;OTBFeatureExtraction;OTBLearning;OTBMachineLearning)
\ No newline at end of file
IF(OTB_USE_OPENCV)
OTB_CREATE_APPLICATION(NAME TrainMachineLearningImagesClassifier
SOURCES otbTrainMachineLearningImagesClassifier.cxx
LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters;OTBFeatureExtraction;OTBLearning;OTBMachineLearning)
ENDIF(OTB_USE_OPENCV)
\ No newline at end of file
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