Skip to content
Snippets Groups Projects
Commit be463139 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: fix otb_module_use_recurse

parent 81d99cb3
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment