diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-12-13 17:19:59 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-12-13 17:19:59 (GMT) |
commit | 5d11564c35b7c7f7a578e848b926a63746c3bcf3 (patch) | |
tree | 0abed46cb0dc0ad9f3d458d43188958cb15f9f63 /Source/cmAuxSourceDirectoryCommand.cxx | |
parent | e1a142f033f3842e19cd207c32fad384a0384772 (diff) | |
download | CMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.zip CMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.tar.gz CMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.tar.bz2 |
ENH: allow source file properties to chain to Directories and up
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r-- | Source/cmAuxSourceDirectoryCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index 1c0388d..2cc5789 100644 --- a/Source/cmAuxSourceDirectoryCommand.cxx +++ b/Source/cmAuxSourceDirectoryCommand.cxx @@ -69,8 +69,7 @@ bool cmAuxSourceDirectoryCommand::InitialPass // add the file as a class file so // depends can be done cmSourceFile cmfile; - cmfile.GetProperties().SetCMakeInstance - (this->Makefile->GetCMakeInstance()); + cmfile.SetMakefile(this->Makefile); cmfile.SetName(fullname.c_str(), this->Makefile->GetCurrentDirectory(), this->Makefile->GetSourceExtensions(), |