Commit be463139 authored by Julien Malik's avatar Julien Malik

COMP: fix otb_module_use_recurse

parent 81d99cb3
......@@ -11,7 +11,7 @@ macro(_otb_module_use_recurse mod)
_otb_module_use_recurse(${dep})
endforeach()
foreach(dep IN LISTS ${mod}_OPTIONAL_DEPENDS)
if (${otb-module}_ENABLED)
if (${dep}_ENABLED)
_otb_module_use_recurse(${dep})
endif()
endforeach()
......
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