summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-25 17:24:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:19 (GMT)
commit6377efd154a385349f2e826c1388e1d768bfcbcb (patch)
treea41dcf4d7957011230c8972dba72bb9afbf0ff26 /Source/cmCommands.cxx
parent067d1fa9c0d887efb35b859230d743307f04fecd (diff)
downloadCMake-6377efd154a385349f2e826c1388e1d768bfcbcb.zip
CMake-6377efd154a385349f2e826c1388e1d768bfcbcb.tar.gz
CMake-6377efd154a385349f2e826c1388e1d768bfcbcb.tar.bz2
cmCommand refactor: cmGetFilenameComponentCommand
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 2cce9b7..d401b25 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -139,7 +139,7 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("get_directory_property",
cmGetDirectoryPropertyCommand);
state->AddBuiltinCommand("get_filename_component",
- cm::make_unique<cmGetFilenameComponentCommand>());
+ cmGetFilenameComponentCommand);
state->AddBuiltinCommand("get_property",
cm::make_unique<cmGetPropertyCommand>());
state->AddBuiltinCommand("if", cmIfCommand);