From b3b341cbbe5353683bd6580eeab0cdf71ec58781 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 16 Feb 2006 17:49:59 -0500 Subject: [PATCH] BUG: Report error when a target does not exist. --- Source/cmSetTargetPropertiesCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmSetTargetPropertiesCommand.cxx b/Source/cmSetTargetPropertiesCommand.cxx index e7532b344..41fce7964 100644 --- a/Source/cmSetTargetPropertiesCommand.cxx +++ b/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;