diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2017-09-15 11:02:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-26 13:11:00 (GMT) |
commit | e40fd9fd19923c84be725da41c233100f400bd93 (patch) | |
tree | bd6da4bc5a9ba52ea2f3a2b096d6debf4983668a /Source/cmTargetPropCommandBase.cxx | |
parent | 206354ac4c2b0e245cc02f3c9f8b82990f829ee8 (diff) | |
download | CMake-e40fd9fd19923c84be725da41c233100f400bd93.zip CMake-e40fd9fd19923c84be725da41c233100f400bd93.tar.gz CMake-e40fd9fd19923c84be725da41c233100f400bd93.tar.bz2 |
cmTargetPropCommandBase: Fix typo in error message
Diffstat (limited to 'Source/cmTargetPropCommandBase.cxx')
-rw-r--r-- | Source/cmTargetPropCommandBase.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx index 45fe430..9f69dea 100644 --- a/Source/cmTargetPropCommandBase.cxx +++ b/Source/cmTargetPropCommandBase.cxx @@ -17,11 +17,11 @@ bool cmTargetPropCommandBase::HandleArguments( return false; } - // Lookup the target for which libraries are specified. if (this->Makefile->IsAlias(args[0])) { this->SetError("can not be used on an ALIAS target."); return false; } + // Lookup the target for which property-values are specified. this->Target = this->Makefile->GetCMakeInstance()->GetGlobalGenerator()->FindTarget( args[0]); @@ -92,8 +92,7 @@ bool cmTargetPropCommandBase::ProcessContentArgs( if (this->Target->GetType() == cmStateEnums::INTERFACE_LIBRARY && scope != "INTERFACE") { - this->SetError("may only be set INTERFACE properties on INTERFACE " - "targets"); + this->SetError("may only set INTERFACE properties on INTERFACE targets"); return false; } |