summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-16 22:49:59 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-16 22:49:59 (GMT)
commitb3b341cbbe5353683bd6580eeab0cdf71ec58781 (patch)
tree3e3ce35ea7d9b1710aec1a74f1bff10196ab430a
parent3cd5fd4e7bb3f2bf6069238a34ad2a4c36a64ba4 (diff)
downloadCMake-b3b341cbbe5353683bd6580eeab0cdf71ec58781.zip
CMake-b3b341cbbe5353683bd6580eeab0cdf71ec58781.tar.gz
CMake-b3b341cbbe5353683bd6580eeab0cdf71ec58781.tar.bz2
BUG: Report error when a target does not exist.
-rw-r--r--Source/cmSetTargetPropertiesCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSetTargetPropertiesCommand.cxx b/Source/cmSetTargetPropertiesCommand.cxx
index e7532b3..41fce79 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;