diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx index 776b7657c8..fe4f32d71f 100644 --- a/Source/cmBootstrapCommands.cxx +++ b/Source/cmBootstrapCommands.cxx @@ -46,6 +46,7 @@ #include "cmForEachCommand.cxx" #include "cmGetFilenameComponentCommand.cxx" #include "cmGetSourceFilePropertyCommand.cxx" +#include "cmGetTargetPropertyCommand.cxx" #include "cmIfCommand.cxx" #include "cmIncludeCommand.cxx" #include "cmIncludeDirectoryCommand.cxx" @@ -103,6 +104,7 @@ void GetBootstrapCommands(std::list& commands) commands.push_back(new cmForEachCommand); commands.push_back(new cmGetFilenameComponentCommand); commands.push_back(new cmGetSourceFilePropertyCommand); + commands.push_back(new cmGetTargetPropertyCommand); commands.push_back(new cmIfCommand); commands.push_back(new cmIncludeCommand); commands.push_back(new cmIncludeDirectoryCommand); diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 8a7cd780db..3d1f3061bb 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -23,7 +23,6 @@ #include "cmFLTKWrapUICommand.cxx" #include "cmGetCMakePropertyCommand.cxx" #include "cmGetDirectoryPropertyCommand.cxx" -#include "cmGetTargetPropertyCommand.cxx" #include "cmGetTestPropertyCommand.cxx" #include "cmIncludeExternalMSProjectCommand.cxx" #include "cmLinkLibrariesCommand.cxx" @@ -64,7 +63,6 @@ void GetPredefinedCommands(std::list& commands.push_back(new cmFLTKWrapUICommand); commands.push_back(new cmGetCMakePropertyCommand); commands.push_back(new cmGetDirectoryPropertyCommand); - commands.push_back(new cmGetTargetPropertyCommand); commands.push_back(new cmGetTestPropertyCommand); commands.push_back(new cmIncludeExternalMSProjectCommand); commands.push_back(new cmLinkLibrariesCommand);