diff options
Diffstat (limited to 'Source/cmBuildNameCommand.h')
-rw-r--r-- | Source/cmBuildNameCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h index 183b097..174f1f9 100644 --- a/Source/cmBuildNameCommand.h +++ b/Source/cmBuildNameCommand.h @@ -72,6 +72,12 @@ public: "CMAKE_SYSTEM and CMAKE_CXX_COMPILER variables."; } + /** This command is only kept for compatibility with older CMake versions. */ + virtual bool IsDiscouraged() + { + return true; + } + cmTypeMacro(cmBuildNameCommand, cmCommand); }; |