From 3bda815c183a848eed621fe89c2df35c755686da Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Wed, 28 Sep 2011 16:03:53 +0200
Subject: [PATCH] ENH: enable compilation of LSD application

---
 Applications/CMakeLists.txt                   | 1 +
 Applications/FeatureExtraction/CMakeLists.txt | 4 ++++
 2 files changed, 5 insertions(+)
 create mode 100644 Applications/FeatureExtraction/CMakeLists.txt

diff --git a/Applications/CMakeLists.txt b/Applications/CMakeLists.txt
index 936f02c0bd..9f8ea02ecc 100644
--- a/Applications/CMakeLists.txt
+++ b/Applications/CMakeLists.txt
@@ -5,6 +5,7 @@ include(OTBWrapperMacros)
 set(OTB_APPLICATIONS_NAME_LIST "" CACHE STRING "List of all applications name" FORCE)
 
 add_subdirectory(Classification)
+add_subdirectory(FeatureExtraction)
 add_subdirectory(Hyperspectral)
 add_subdirectory(Projections)
 add_subdirectory(Util)
diff --git a/Applications/FeatureExtraction/CMakeLists.txt b/Applications/FeatureExtraction/CMakeLists.txt
new file mode 100644
index 0000000000..1e099348a5
--- /dev/null
+++ b/Applications/FeatureExtraction/CMakeLists.txt
@@ -0,0 +1,4 @@
+
+OTB_CREATE_APPLICATION(NAME LineSegmentDetection
+                       SOURCES otbLineSegmentDetection.cxx
+                       LINK_LIBRARIES OTBIO;OTBCommon;OTBBasicFilters)
-- 
GitLab