Co-authored-by: Matthias Maier <tamiko@43-1.org>
get_cmake_property(_res VARIABLES)
foreach(_var ${_res})
- if(_var MATCHES "DEAL_II_.*WITH")
+ if(_var MATCHES "DEAL_II_.*(WITH|FEATURE.*BUNDLED)")
list(APPEND _additional_config_variables ${_var})
endif()
endforeach()
"set(DEAL_II_${_name}_VERSION \"${${_name}_VERSION}\")\n"
)
endif()
+
foreach(_additional ${_additional_config_variables})
- if(_additional MATCHES "DEAL_II_${_name}_WITH")
+ if(_additional MATCHES "(DEAL_II_${_name}_WITH|DEAL_II_FEATURE_${_name})")
file(APPEND ${_file} "set(${_additional} ${${_additional}})\n")
endif()
endforeach()
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams