From: maier Date: Sun, 24 Mar 2013 11:04:13 +0000 (+0000) Subject: CMake: Bugfix: Print out the component selection as well X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93cfe493e348b5ec4bfb49465346d358c5825c08;p=dealii-svn.git CMake: Bugfix: Print out the component selection as well git-svn-id: https://svn.dealii.org/trunk@29012 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/setup_finalize.cmake b/deal.II/cmake/setup_finalize.cmake index 7068004b07..70e035e5f1 100644 --- a/deal.II/cmake/setup_finalize.cmake +++ b/deal.II/cmake/setup_finalize.cmake @@ -118,6 +118,8 @@ GET_CMAKE_PROPERTY(_variables VARIABLES) FOREACH(_var ${_variables}) IF(_var MATCHES "DEAL_II_WITH") LIST(APPEND _features "${_var}") + ELSEIF(_var MATCHES "DEAL_II_COMPONENT") + LIST(APPEND _components "${_var}") ELSEIF(_var MATCHES "(COMPILER|COMPILE_FLAGS|LINK_FLAGS|LIBRARIES|INCLUDE_PATH|INCLUDE_DIRS|LINKER_FLAGS)") LIST(APPEND _features_config ${_var}) ENDIF() @@ -164,7 +166,7 @@ ENDFOREACH() FILE(APPEND ${_log} "#\n# Component configuration:\n" ) -FOREACH(_var ${_res}) +FOREACH(_var ${_components}) IF(_var MATCHES "DEAL_II_COMPONENT") IF(${${_var}}) FILE(APPEND ${_log} "# ${_var}\n")