From 3fb2ec025694968154c5fa091b6fdfea6b051107 Mon Sep 17 00:00:00 2001
From: Stephane Albert <stephane.albert@c-s.fr>
Date: Thu, 30 Apr 2015 11:52:46 +0200
Subject: [PATCH] COMP: Added fixup_bundle for mv2 binary (Windows).

---
 Packaging/Windows/BundleFixing.cmake.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Packaging/Windows/BundleFixing.cmake.in b/Packaging/Windows/BundleFixing.cmake.in
index 3d03235f64..b4fd936ad9 100644
--- a/Packaging/Windows/BundleFixing.cmake.in
+++ b/Packaging/Windows/BundleFixing.cmake.in
@@ -1,8 +1,9 @@
-set(APP_LIST @OTB_APPS_NAME_LIST@)
+gset(APP_LIST @OTB_APPS_NAME_LIST@)
 
 foreach(APP ${APP_LIST})
   list(APPEND OTB_APPS_LIST_INSTALL ${CMAKE_INSTALL_PREFIX}/lib/otb/applications/${APP})
 endforeach(APP)
 
 include(BundleUtilities)
-fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/monteverdi2.exe" "${OTB_APPS_LIST_INSTALL}" "")
\ No newline at end of file
+fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/monteverdi2.exe" "${OTB_APPS_LIST_INSTALL}" "")
+fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/mv2.exe" "${OTB_APPS_LIST_INSTALL}" "")
-- 
GitLab