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

This commit is contained in:
Brad King 2008-01-17 19:50:39 -05:00
parent 433099ecdd
commit 7f589c9f23
1 changed files with 4 additions and 0 deletions

View File

@ -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;