Browse Source

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

Brad King 18 years ago
parent
commit
7f589c9f23
1 changed files with 4 additions and 0 deletions
  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;