Brad King 21 лет назад
Родитель
Сommit
0fec8c8ce9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmLocalUnixMakefileGenerator.cxx

+ 1 - 1
Source/cmLocalUnixMakefileGenerator.cxx

@@ -2498,7 +2498,7 @@ void cmLocalUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout)
   // CMake versions below 2.0 would add the source tree to the -I path
   // automatically.  Preserve compatibility.
   const char* versionValue =
-    this->GetDefinition("CMAKE_BACKWARDS_COMPATIBILITY");
+    m_Makefile->GetDefinition("CMAKE_BACKWARDS_COMPATIBILITY");
   if(versionValue)
     {
     int major = 0;