diff --git a/support/cmake/support_macros.cmake b/support/cmake/support_macros.cmake index 44bbbc0df7..86b559d197 100644 --- a/support/cmake/support_macros.cmake +++ b/support/cmake/support_macros.cmake @@ -363,7 +363,10 @@ function (handle_internal_modules) message(STATUS "Included modules:") foreach (module ${sortedModules}) - message(STATUS "\t${module}") + create_option_name(${module} optionName) + if (${optionName}) + message(STATUS "\t${module}") + endif () endforeach () # Add subdirectories in the correct order