Skip to content
Snippets Groups Projects
Commit b530789e authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix stack size for 6S Example

parent 6840ece6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment