Skip to content
Snippets Groups Projects
Commit 58d2e446 authored by Markus Blatt's avatar Markus Blatt
Browse files

[bugfix,cmake] Process dependency tree including the module itself.

One of the latest patches prevent the macros of the current module
form being executed. This patch fixes this by including the module
in the dependency tree.
parent 35d07e22
No related branches found
No related tags found
No related merge requests found
......@@ -416,7 +416,7 @@ macro(dune_module_to_macro _macro_name _dune_module)
endmacro(dune_module_to_macro _macro_name _dune_module)
macro(dune_process_dependency_tree DEPENDS DVERSIONS SUGGESTS SVERSIONS)
foreach(_mod ${ALL_DEPENDENCIES})
foreach(_mod ${ALL_DEPENDENCIES} ${ProjectName})
if(NOT ${_mod}_PROCESSED)
# module not processed yet
set(${_mod}_PROCESSED ${_mod})
......
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