From 03f2221b2d463ef13520d4bd92d84abbc5421a3a Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Thu, 19 Jan 2017 06:32:12 +0100
Subject: [PATCH] BUG: cmake: remove endforeach()

---
 SuperBuild/Packaging/InstallSupportFiles.cmake | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/SuperBuild/Packaging/InstallSupportFiles.cmake b/SuperBuild/Packaging/InstallSupportFiles.cmake
index 1b1422c117..7edf0e3851 100644
--- a/SuperBuild/Packaging/InstallSupportFiles.cmake
+++ b/SuperBuild/Packaging/InstallSupportFiles.cmake
@@ -239,8 +239,7 @@ function(func_install_otb_support_files)
       DESTINATION ${PKG_STAGE_DIR}
       RENAME otbenv.sh
     )
-    endforeach()
-
+    
     #we need startup files for mapla monteverdi in the root directory
     #For Unixes, we make them inside pkgsetup script!
     foreach(exe_file mapla monteverdi)
-- 
GitLab