summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 21:00:22 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 21:00:22 (GMT)
commite126954393c945b71c4bd243090076dc24c0ec7d (patch)
tree57ad815fa8de67f1c5fc8377b38b099b63f80f33 /Source/cmMakefile.cxx
parent1349d06e7851e7d73b8cfbea00d89bfb074a2acb (diff)
downloadCMake-e126954393c945b71c4bd243090076dc24c0ec7d.zip
CMake-e126954393c945b71c4bd243090076dc24c0ec7d.tar.gz
CMake-e126954393c945b71c4bd243090076dc24c0ec7d.tar.bz2
fixes for untiltiy targets in all
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 9680064..d8dfe2f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -467,6 +467,7 @@ void cmMakefile::AddLibrary(const char* lname, const std::vector<std::string> &s
{
cmTarget target;
target.SetType(cmTarget::LIBRARY);
+ target.SetInAll(true);
target.GetSourceLists() = srcs;
m_Targets.insert(cmTargets::value_type(lname,target));
}
@@ -476,6 +477,7 @@ void cmMakefile::AddExecutable(const char *exeName,
{
cmTarget target;
target.SetType(cmTarget::EXECUTABLE);
+ target.SetInAll(true);
target.GetSourceLists() = srcs;
m_Targets.insert(cmTargets::value_type(exeName,target));
}