Quellcode durchsuchen

ENH: the test for kwsys uses GET_TARGET_PROPERTY, which was not in the CMake bootstrap

Sebastien Barre vor 20 Jahren
Ursprung
Commit
b83dffb500
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 0
      Source/cmBootstrapCommands.cxx
  2. 0 2
      Source/cmCommands.cxx

+ 2 - 0
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<cmCommand*>& 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);

+ 0 - 2
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<cmCommand*>&
   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);