summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapTclCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVTKWrapTclCommand.h')
-rw-r--r--Source/cmVTKWrapTclCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVTKWrapTclCommand.h b/Source/cmVTKWrapTclCommand.h
index 77488bc..4fa061e 100644
--- a/Source/cmVTKWrapTclCommand.h
+++ b/Source/cmVTKWrapTclCommand.h
@@ -79,6 +79,12 @@ public:
"Create Tcl wrappers for VTK classes.";
}
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
/**
* Helper methods
*/