summaryrefslogtreecommitdiff
path: root/Source/cmSetPropertyCommand.cxx
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 00:27:25 +0200
committerBrad King <brad.king@kitware.com>2020-07-09 06:33:03 -0400
commit177052d6b8b4127a9d345830fb3d82384e9d5b50 (patch)
tree776520852b0d1b5232f0a6de41947ac68e3db0f0 /Source/cmSetPropertyCommand.cxx
parent8adfa16e207f046b9ac825c4ec97c041ef4fe541 (diff)
downloadcmake-177052d6b8b4127a9d345830fb3d82384e9d5b50.tar.gz
set_property: Fix name of TARGET_DIRECTORY option in error messages
Diffstat (limited to 'Source/cmSetPropertyCommand.cxx')
-rw-r--r--Source/cmSetPropertyCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetPropertyCommand.cxx b/Source/cmSetPropertyCommand.cxx
index 07cb7c9e45..11afc14ad2 100644
--- a/Source/cmSetPropertyCommand.cxx
+++ b/Source/cmSetPropertyCommand.cxx
@@ -101,7 +101,7 @@ bool HandleSourceFileDirectoryScopes(
cmTarget* target = current_dir_mf->FindTargetToUse(target_name);
if (!target) {
status.SetError(cmStrCat(
- "given non-existent target for DIRECTORY_TARGET ", target_name));
+ "given non-existent target for TARGET_DIRECTORY ", target_name));
return false;
}
cmProp target_source_dir = target->GetProperty("SOURCE_DIR");