From f2cd11376161eb63dd39dea78c38b394e7d681b6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 9 Mar 2001 11:33:33 -0500 Subject: ENH: Made UTILITY_SOURCE command inherited, just like FIND_PROGRAM. --- Source/cmUtilitySourceCommand.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h index 6fced25..588d314 100644 --- a/Source/cmUtilitySourceCommand.h +++ b/Source/cmUtilitySourceCommand.h @@ -46,6 +46,12 @@ public: virtual bool Invoke(std::vector& 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. */ virtual const char* GetName() { return "UTILITY_SOURCE";} -- cgit v0.12