Only display actually included modules in the CMake log (closing #122)

This commit is contained in:
Alexander Bock
2016-07-18 12:02:29 +02:00
parent d39b9e91e2
commit c4e9c88e91

View File

@@ -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