Skip to content
Snippets Groups Projects
Commit 2ec82ef4 authored by Arnaud Jaen's avatar Arnaud Jaen
Browse files

BUG: TrainMachineLearningImagesClassifier is now compiled only if OTB_USE_OPENCV is ON

parent acb3e4d7
Branches 2076-develop-package-names-3
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment