Просмотр исходного кода

BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created.

Brad King 18 лет назад
Родитель
Сommit
7f589c9f23
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Source/cmMakefile.cxx

+ 4 - 0
Source/cmMakefile.cxx

@@ -1134,6 +1134,10 @@ void cmMakefile::InitializeFromParent()
   // define flags
   this->DefineFlags = parent->DefineFlags;
 
+  // compile definitions property
+  this->SetProperty("COMPILE_DEFINITIONS",
+                    parent->GetProperty("COMPILE_DEFINITIONS"));
+
   // link libraries
   this->LinkLibraries = parent->LinkLibraries;