Commit b5627f5a authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Optional dependencies where not included in module cycle detection

parent 4dfd9947
...@@ -58,6 +58,9 @@ macro(otb_module_check otb-module _needed_by stack) ...@@ -58,6 +58,9 @@ macro(otb_module_check otb-module _needed_by stack)
foreach(dep IN LISTS OTB_MODULE_${otb-module}_DEPENDS) foreach(dep IN LISTS OTB_MODULE_${otb-module}_DEPENDS)
otb_module_check(${dep} ${otb-module} "${otb-module};${stack}") otb_module_check(${dep} ${otb-module} "${otb-module};${stack}")
endforeach() endforeach()
foreach(dep IN LISTS OTB_MODULE_${otb-module}_OPTIONAL_DEPENDS)
otb_module_check(${dep} ${otb-module} "${otb-module};${stack}")
set(check_finished_${otb-module} 1) set(check_finished_${otb-module} 1)
endif() endif()
endmacro() endmacro()
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