BUG: No need for the backward compatibility variable warning

This commit is contained in:
Andy Cedilnik 2007-04-04 12:05:44 -04:00
parent 6fb9e2781a
commit 0b92b2faf5
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ bool cmConfigureFileCommand::InitialPass(std::vector<std::string> const& args)
// after 2.0 it only does InitialPass // after 2.0 it only does InitialPass
this->Immediate = false; this->Immediate = false;
const char* versionValue const char* versionValue
= this->Makefile->GetRequiredDefinition("CMAKE_BACKWARDS_COMPATIBILITY"); = this->Makefile->GetDefinition("CMAKE_BACKWARDS_COMPATIBILITY");
if (atof(versionValue) > 2.0) if (versionValue && atof(versionValue) > 2.0)
{ {
this->Immediate = true; this->Immediate = true;
} }