From 93cfe493e348b5ec4bfb49465346d358c5825c08 Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 24 Mar 2013 11:04:13 +0000 Subject: [PATCH] CMake: Bugfix: Print out the component selection as well git-svn-id: https://svn.dealii.org/trunk@29012 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_finalize.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- 2.39.5