ENH: revert last change, as it fails tests

This commit is contained in:
Bill Hoffman 2008-10-14 13:56:49 -04:00
parent 9210fef65b
commit ec9f2a18cc
1 changed files with 0 additions and 7 deletions

View File

@ -28,13 +28,6 @@ bool cmEnableLanguageCommand
("called with incorrect number of arguments");
return false;
}
if(this->Makefile->GetCMakeInstance()->GetIsInTryCompile())
{
this->SetError
("called from a try_compile, "
"all languages must be enabled before trying them.");
return false;
}
for (std::vector<std::string>::const_iterator it = args.begin();
it != args.end();
++it)