Explorar o código

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

Brad King %!s(int64=18) %!d(string=hai) anos
pai
achega
7f589c9f23
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;