Commit b530789e authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: fix stack size for 6S Example

parent 6840ece6
Pipeline #1725 passed with stages
in 14 minutes and 45 seconds
......@@ -27,6 +27,11 @@ target_link_libraries(ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter ${OT
if(OTB6S_LOADED)
add_executable(AtmosphericCorrectionSequencement AtmosphericCorrectionSequencement.cxx)
target_link_libraries(AtmosphericCorrectionSequencement ${OTB_LIBRARIES})
if(MSVC)
set_target_properties(AtmosphericCorrectionSequencement PROPERTIES LINK_FLAGS "/STACK:10000000")
elseif(MINGW)
set_target_properties(AtmosphericCorrectionSequencement PROPERTIES LINK_FLAGS "-Wl,--stack,10000000")
endif()
endif()
add_executable(AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment