diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index e161bfa0c7..ddbdd3fc2e 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -422,10 +422,6 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution( } bool written = false; - for (auto const& c : configs) { - target->CheckCxxModuleStatus(c); - } - // handle external vc project files cmValue expath = target->GetProperty("EXTERNAL_MSPROJECT"); if (expath) {