summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-05 15:46:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-05 15:46:20 (GMT)
commit323dc3a89aeadbff9651234b41983f5aabb60d98 (patch)
tree452309ff46416c174c5ea5d265a0220ec9f37b96 /Source/cmTarget.cxx
parentd7faff7c08fe0c5cb5906e33e1c733a20c151a0a (diff)
downloadCMake-323dc3a89aeadbff9651234b41983f5aabb60d98.zip
CMake-323dc3a89aeadbff9651234b41983f5aabb60d98.tar.gz
CMake-323dc3a89aeadbff9651234b41983f5aabb60d98.tar.bz2
ENH: Added information about target needing a source file when one cannot be found.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index efa20f8..f0132e3 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -299,7 +299,7 @@ void cmTarget::GenerateSourceFilesFromSourceLists( cmMakefile &mf)
file.SetProperty("ABSTRACT","0");
file.SetName(temps.c_str(), mf.GetCurrentDirectory(),
mf.GetSourceExtensions(),
- mf.GetHeaderExtensions());
+ mf.GetHeaderExtensions(), this->Name.c_str());
this->SourceFiles.push_back(mf.AddSource(file));
}
}