From a785fda65a8db640f8e80339c5e7aded90316ef2 Mon Sep 17 00:00:00 2001
From: ctraizet <cedric.traizet@c-s.fr>
Date: Mon, 4 Feb 2019 14:54:31 +0100
Subject: [PATCH] COMP: move OTBFunctor dependency to the
 AnomalyDetectionModule

---
 Modules/Applications/AppHyperspectral/otb-module.cmake  | 1 -
 Modules/Hyperspectral/AnomalyDetection/otb-module.cmake | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Modules/Applications/AppHyperspectral/otb-module.cmake b/Modules/Applications/AppHyperspectral/otb-module.cmake
index da611161c3..98d9cd527d 100644
--- a/Modules/Applications/AppHyperspectral/otb-module.cmake
+++ b/Modules/Applications/AppHyperspectral/otb-module.cmake
@@ -27,7 +27,6 @@ otb_module(OTBAppHyperspectral
     OTBEndmembersExtraction
     OTBUnmixing
     OTBAnomalyDetection
-    OTBFunctor
   TEST_DEPENDS
     OTBTestKernel
     OTBCommandLine
diff --git a/Modules/Hyperspectral/AnomalyDetection/otb-module.cmake b/Modules/Hyperspectral/AnomalyDetection/otb-module.cmake
index f2cc3ce4f9..a04146e4a2 100644
--- a/Modules/Hyperspectral/AnomalyDetection/otb-module.cmake
+++ b/Modules/Hyperspectral/AnomalyDetection/otb-module.cmake
@@ -28,7 +28,7 @@ detection which have shown success for multispectral and hyperspectral images
 otb_module(OTBAnomalyDetection
   DEPENDS
     OTBITK
-
+    OTBFunctor
   TEST_DEPENDS
     OTBTestKernel
     OTBImageIO
-- 
GitLab