diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 1d5df5d20..e20bfe105 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);