summaryrefslogtreecommitdiffstats
path: root/Help/module/FindVTK.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-02 13:25:44 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-02 13:28:02 (GMT)
commit5b5e80e7288b42b1221b374c86e6ece39853c3bd (patch)
tree1acda4334456de0f1de7730b9de498121788fc96 /Help/module/FindVTK.rst
parentfd6fa6572665d461a0a6f4fd5354f8ace71ad2b2 (diff)
downloadCMake-5b5e80e7288b42b1221b374c86e6ece39853c3bd.zip
CMake-5b5e80e7288b42b1221b374c86e6ece39853c3bd.tar.gz
CMake-5b5e80e7288b42b1221b374c86e6ece39853c3bd.tar.bz2
FindVTK: Drop this ancient compatibility module
The FindVTK module only existed to help find_package(VTK) calls work in old projects written to use "USE_VTK_FILE" instead of "VTK_USE_FILE". Drop it to allow find_package(VTK) calls to search for VTKConfig.cmake directly.
Diffstat (limited to 'Help/module/FindVTK.rst')
-rw-r--r--Help/module/FindVTK.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/Help/module/FindVTK.rst b/Help/module/FindVTK.rst
index f9c1efe..3bc67c5 100644
--- a/Help/module/FindVTK.rst
+++ b/Help/module/FindVTK.rst
@@ -1 +1,10 @@
-.. cmake-module:: ../../Modules/FindVTK.cmake
+FindVTK
+-------
+
+This module no longer exists.
+
+This module existed in versions of CMake prior to 3.1, but became
+only a thin wrapper around ``find_package(VTK NO_MODULE)`` to
+provide compatibility for projects using long-outdated conventions.
+Now ``find_package(VTK)`` will search for ``VTKConfig.cmake``
+directly.