浏览代码

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

Brad King 18 年之前
父节点
当前提交
d720036e61
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -409,7 +409,7 @@ void cmLocalGenerator::GenerateInstallRules()
     for(std::vector<cmLocalGenerator*>::const_iterator
     for(std::vector<cmLocalGenerator*>::const_iterator
           ci = this->Children.begin(); ci != this->Children.end(); ++ci)
           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();
         std::string odir = (*ci)->GetMakefile()->GetStartOutputDirectory();
         cmSystemTools::ConvertToUnixSlashes(odir);
         cmSystemTools::ConvertToUnixSlashes(odir);