diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-13 11:43:47 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-16 08:47:22 (GMT) |
commit | c55fb044a9cf20a449f9d5ebc5d88c6de279786d (patch) | |
tree | b29f89ff8654723450e61b9be98d507db850e7a7 /Source/cmCommands.cxx | |
parent | 86bf1eef7587b837057f098927fb6e7e10149c66 (diff) | |
download | CMake-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.cxx | 2 |
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>(), |