From a214c494c6e4b69d5721eb420e206d51f7bd63cb Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 26 Oct 2015 14:59:32 +0100
Subject: [PATCH] COMP: wrong CMake instruction, use elseif

---
 CMake/OTBSetStandardCompilerFlags.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMake/OTBSetStandardCompilerFlags.cmake b/CMake/OTBSetStandardCompilerFlags.cmake
index 2cf8c6b129..c44cb79482 100644
--- a/CMake/OTBSetStandardCompilerFlags.cmake
+++ b/CMake/OTBSetStandardCompilerFlags.cmake
@@ -144,7 +144,7 @@ macro(check_compiler_platform_flags)
           message(STATUS "The stack size is set to 10 Mbytes (/STACK:10000000).")
       endif()
     endif() #if (${CMAKE_VERSION..
-  else(MINGW)
+  elseif(MINGW)
     set(OTB_REQUIRED_LINK_FLAGS "${OTB_REQUIRED_LINK_FLAGS} -Wl,--stack,10000000")
     message(STATUS "The stack size is set to 10 Mbytes (-Wl,--stack,10000000).")
   endif() # if(MSVC)
-- 
GitLab