[cmake-commits] king committed cmMakefile.cxx 1.425 1.426
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 17 19:50:41 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4076
Modified Files:
cmMakefile.cxx
Log Message:
BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created.
Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.425
retrieving revision 1.426
diff -u -d -r1.425 -r1.426
--- cmMakefile.cxx 18 Jan 2008 00:29:43 -0000 1.425
+++ cmMakefile.cxx 18 Jan 2008 00:50:39 -0000 1.426
@@ -1134,6 +1134,10 @@
// define flags
this->DefineFlags = parent->DefineFlags;
+ // compile definitions property
+ this->SetProperty("COMPILE_DEFINITIONS",
+ parent->GetProperty("COMPILE_DEFINITIONS"));
+
// link libraries
this->LinkLibraries = parent->LinkLibraries;
More information about the Cmake-commits
mailing list