Bladeren bron

BUG: Command should be inherited.

Brad King 22 jaren geleden
bovenliggende
commit
33d55456c3
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  1. 6 0
      Source/cmStringCommand.h

+ 6 - 0
Source/cmStringCommand.h

@@ -41,6 +41,12 @@ public:
    */
   virtual bool InitialPass(std::vector<std::string> const& args);
 
+  /**
+   * This determines if the command gets propagated down
+   * to makefiles located in subdirectories.
+   */
+  virtual bool IsInherited() {return true;}
+
   /**
    * The name of the command as specified in CMakeList.txt.
    */