summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-21 17:53:29 (GMT)
committerGabor Bencze <b.gabor98@gmail.com>2019-08-25 12:29:25 (GMT)
commit524d72151449acf5d76e55172174552b83a74f61 (patch)
tree2e0eb4cdb54690fe731451b5d3715443bc3eb841 /Source/cmCommands.cxx
parent2a1be178de5f12d55ec486609f4512e6b2b9d168 (diff)
downloadCMake-524d72151449acf5d76e55172174552b83a74f61.zip
CMake-524d72151449acf5d76e55172174552b83a74f61.tar.gz
CMake-524d72151449acf5d76e55172174552b83a74f61.tar.bz2
cmCommand refactor: cmUseMangledMesaCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index ead16d2..6cb7d80 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -208,8 +208,7 @@ void GetScriptingCommands(cmState* state)
"build_name", cmBuildNameCommand, cmPolicies::CMP0036,
"The build_name command should not be called; see CMP0036.");
state->AddDisallowedCommand(
- "use_mangled_mesa", cm::make_unique<cmUseMangledMesaCommand>(),
- cmPolicies::CMP0030,
+ "use_mangled_mesa", cmUseMangledMesaCommand, cmPolicies::CMP0030,
"The use_mangled_mesa command should not be called; see CMP0030.");
#endif