summaryrefslogtreecommitdiffstats
path: root/Modules/FindVTK.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-24 15:06:18 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-24 15:06:18 (GMT)
commite450309ca304e0cf8b91ddde54dc19c049a88b9d (patch)
tree8a9a047984c01356c92956b880ed38ac3b6c18c9 /Modules/FindVTK.cmake
parent08441daded83d314c95016b1a6f7bb047b85e0f2 (diff)
downloadCMake-e450309ca304e0cf8b91ddde54dc19c049a88b9d.zip
CMake-e450309ca304e0cf8b91ddde54dc19c049a88b9d.tar.gz
CMake-e450309ca304e0cf8b91ddde54dc19c049a88b9d.tar.bz2
ENH: Improved error message for VTK_DIR not found to refer to it as a cache entry. Some users thought this was supposed to be an environment variable.
Diffstat (limited to 'Modules/FindVTK.cmake')
-rw-r--r--Modules/FindVTK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
index 69abc5d..747e320 100644
--- a/Modules/FindVTK.cmake
+++ b/Modules/FindVTK.cmake
@@ -29,7 +29,7 @@
# Construct consitent error messages for use below.
SET(VTK_DIR_DESCRIPTION "directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of UseVTK.cmake. This is either the root of the build tree or PREFIX/include/vtk for an installation.")
-SET(VTK_DIR_MESSAGE "VTK not found. Set VTK_DIR to the ${VTK_DIR_DESCRIPTION}")
+SET(VTK_DIR_MESSAGE "VTK not found. Set the VTK_DIR cmake cache entry to the ${VTK_DIR_DESCRIPTION}")
# Search only if the location is not already known.
IF(NOT VTK_DIR)