summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapJavaCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.h')
-rw-r--r--Source/cmVTKWrapJavaCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVTKWrapJavaCommand.h b/Source/cmVTKWrapJavaCommand.h
index 2532bd2..419e399 100644
--- a/Source/cmVTKWrapJavaCommand.h
+++ b/Source/cmVTKWrapJavaCommand.h
@@ -77,6 +77,12 @@ public:
"Create Java wrappers for VTK classes.";
}
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
private:
std::vector<cmSourceFile> WrapClasses;
std::vector<std::string> WrapHeaders;