summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.h')
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.h b/Source/cmVTKMakeInstantiatorCommand.h
index 377cf75..a8ed52a 100644
--- a/Source/cmVTKMakeInstantiatorCommand.h
+++ b/Source/cmVTKMakeInstantiatorCommand.h
@@ -75,6 +75,12 @@ public:
"C++ code.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmVTKMakeInstantiatorCommand, cmCommand);
protected: