Explorar o código

BUG: Report error when a target does not exist.

Brad King %!s(int64=20) %!d(string=hai) anos
pai
achega
b3b341cbbe
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;