BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work.

This commit is contained in:
Brad King 2007-03-13 11:58:12 -04:00
parent 646e2ff9d8
commit d720036e61
1 changed files with 1 additions and 1 deletions

View File

@ -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);