summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-13 11:43:47 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-08-16 08:47:22 (GMT)
commitc55fb044a9cf20a449f9d5ebc5d88c6de279786d (patch)
treeb29f89ff8654723450e61b9be98d507db850e7a7 /Source/cmCommands.cxx
parent86bf1eef7587b837057f098927fb6e7e10149c66 (diff)
downloadCMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.zip
CMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.tar.gz
CMake-c55fb044a9cf20a449f9d5ebc5d88c6de279786d.tar.bz2
cmBuildNameCommand: Implement as free function
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index a9be445..1989427 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -221,7 +221,7 @@ void GetScriptingCommands(cmState* state)
cm::make_unique<cmWriteFileCommand>());
state->AddDisallowedCommand(
- "build_name", cm::make_unique<cmBuildNameCommand>(), cmPolicies::CMP0036,
+ "build_name", cmBuildNameCommand, cmPolicies::CMP0036,
"The build_name command should not be called; see CMP0036.");
state->AddDisallowedCommand(
"use_mangled_mesa", cm::make_unique<cmUseMangledMesaCommand>(),