فهرست منبع

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