summaryrefslogtreecommitdiff
path: root/Source/cmAuxSourceDirectoryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-13 12:19:59 -0500
committerKen Martin <ken.martin@kitware.com>2006-12-13 12:19:59 -0500
commit5d11564c35b7c7f7a578e848b926a63746c3bcf3 (patch)
tree0abed46cb0dc0ad9f3d458d43188958cb15f9f63 /Source/cmAuxSourceDirectoryCommand.cxx
parente1a142f033f3842e19cd207c32fad384a0384772 (diff)
downloadcmake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.tar.gz
ENH: allow source file properties to chain to Directories and up
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index 1c0388d58b..2cc57892e3 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(),