summaryrefslogtreecommitdiff
path: root/Source/cmSetTargetPropertiesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-16 17:49:59 -0500
committerBrad King <brad.king@kitware.com>2006-02-16 17:49:59 -0500
commitb3b341cbbe5353683bd6580eeab0cdf71ec58781 (patch)
tree3e3ce35ea7d9b1710aec1a74f1bff10196ab430a /Source/cmSetTargetPropertiesCommand.cxx
parent3cd5fd4e7bb3f2bf6069238a34ad2a4c36a64ba4 (diff)
downloadcmake-b3b341cbbe5353683bd6580eeab0cdf71ec58781.tar.gz
BUG: Report error when a target does not exist.
Diffstat (limited to 'Source/cmSetTargetPropertiesCommand.cxx')
-rw-r--r--Source/cmSetTargetPropertiesCommand.cxx1
1 files changed, 1 insertions, 0 deletions
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;