From b3b341cbbe5353683bd6580eeab0cdf71ec58781 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 16 Feb 2006 17:49:59 -0500 Subject: BUG: Report error when a target does not exist. --- Source/cmSetTargetPropertiesCommand.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/cmSetTargetPropertiesCommand.cxx') diff --git a/Source/cmSetTargetPropertiesCommand.cxx b/Source/cmSetTargetPropertiesCommand.cxx index e7532b3442..41fce7964a 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; -- cgit v1.2.1