summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-13 17:19:59 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-12-13 17:19:59 (GMT)
commit5d11564c35b7c7f7a578e848b926a63746c3bcf3 (patch)
tree0abed46cb0dc0ad9f3d458d43188958cb15f9f63 /Source/cmFLTKWrapUICommand.cxx
parente1a142f033f3842e19cd207c32fad384a0384772 (diff)
downloadCMake-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/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index d9457ba..d3d6f28 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -54,8 +54,7 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args)
if (!curr || !curr->GetPropertyAsBool("WRAP_EXCLUDE"))
{
cmSourceFile header_file;
- header_file.GetProperties().SetCMakeInstance
- (this->Makefile->GetCMakeInstance());
+ header_file.SetMakefile(this->Makefile);
std::string srcName = cmSystemTools::GetFilenameWithoutExtension(*i);
const bool headerFileOnly = true;
header_file.SetName(srcName.c_str(),