diff options
author | Brad King <brad.king@kitware.com> | 2008-01-18 00:50:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-18 00:50:39 (GMT) |
commit | 7f589c9f23ee64ca0d36e81a02a70a87bc7fbbbe (patch) | |
tree | 64cfb91920dc19ee7890abb5e55fb5f7dadd0334 /Source/cmMakefile.cxx | |
parent | 433099ecddb334cc6e43c6302594d7c713ef4d1e (diff) | |
download | CMake-7f589c9f23ee64ca0d36e81a02a70a87bc7fbbbe.zip CMake-7f589c9f23ee64ca0d36e81a02a70a87bc7fbbbe.tar.gz CMake-7f589c9f23ee64ca0d36e81a02a70a87bc7fbbbe.tar.bz2 |
BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 5a3be94..62872d0 100644 --- a/Source/cmMakefile.cxx +++ b/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; |