diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 17:12:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | 40ba0addac09b7389d7c554d5c6e9eed74f377e3 (patch) | |
tree | 2ca5b07c4e59c2d3226498ea2262b25dc8d1d242 /Source/cmCommands.cxx | |
parent | 9bbe95a0e71e6658a37fe9e755577c80ffa2da9c (diff) | |
download | CMake-40ba0addac09b7389d7c554d5c6e9eed74f377e3.zip CMake-40ba0addac09b7389d7c554d5c6e9eed74f377e3.tar.gz CMake-40ba0addac09b7389d7c554d5c6e9eed74f377e3.tar.bz2 |
cmCommand refactor: cmGetCMakePropertyCommand
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 461ffdf..d170aa0 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -135,8 +135,7 @@ void GetScriptingCommands(cmState* state) cm::make_unique<cmFindProgramCommand>()); state->AddBuiltinCommand("foreach", cmForEachCommand); state->AddBuiltinCommand("function", cmFunctionCommand); - state->AddBuiltinCommand("get_cmake_property", - cm::make_unique<cmGetCMakePropertyCommand>()); + state->AddBuiltinCommand("get_cmake_property", cmGetCMakePropertyCommand); state->AddBuiltinCommand("get_directory_property", cm::make_unique<cmGetDirectoryPropertyCommand>()); state->AddBuiltinCommand("get_filename_component", |