summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-13 15:58:12 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-13 15:58:12 (GMT)
commitd720036e6156f58a7a3392908b2bae67e207bdc6 (patch)
tree29cc232a20a60ce9570993e5cdaba007627760ef /Source/cmLocalGenerator.cxx
parent646e2ff9d8e3abc20cfcc1264ee634dc6fdf2631 (diff)
downloadCMake-d720036e6156f58a7a3392908b2bae67e207bdc6.zip
CMake-d720036e6156f58a7a3392908b2bae67e207bdc6.tar.gz
CMake-d720036e6156f58a7a3392908b2bae67e207bdc6.tar.bz2
BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 1d5df5d..e20bfe1 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -409,7 +409,7 @@ void cmLocalGenerator::GenerateInstallRules()
for(std::vector<cmLocalGenerator*>::const_iterator
ci = this->Children.begin(); ci != this->Children.end(); ++ci)
{
- if(!(*ci)->GetMakefile()->GetProperty("EXCLUDE_FROM_ALL"))
+ if(!(*ci)->GetMakefile()->GetPropertyAsBool("EXCLUDE_FROM_ALL"))
{
std::string odir = (*ci)->GetMakefile()->GetStartOutputDirectory();
cmSystemTools::ConvertToUnixSlashes(odir);