Commit ec9f2a18 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: revert last change, as it fails tests

parent 9210fef6
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment