Преглед изворни кода

BUG: Report error when a target does not exist.

Brad King пре 20 година
родитељ
комит
b3b341cbbe
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Source/cmSetTargetPropertiesCommand.cxx

+ 1 - 0
Source/cmSetTargetPropertiesCommand.cxx

@@ -92,6 +92,7 @@ bool cmSetTargetPropertiesCommand::InitialPass(
       std::string message = "Can not find target to add properties to: ";
       message += args[i];
       this->SetError(message.c_str());
+      return false;
       }
     }
   return true;