From d720036e6156f58a7a3392908b2bae67e207bdc6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 13 Mar 2007 11:58:12 -0400 Subject: BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work. --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::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); -- cgit v0.12