diff options
author | Brad King <brad.king@kitware.com> | 2004-04-26 15:00:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-04-26 15:00:41 (GMT) |
commit | 7c0844d2f4f98d40bc4bb7be89cc75740506db3c (patch) | |
tree | dbc501552f9d74a09125245219752403c4893bb2 /Modules/FindVTK.cmake | |
parent | b6f7e08242fd95fb979ac780c0bb02b5f32374a9 (diff) | |
download | CMake-7c0844d2f4f98d40bc4bb7be89cc75740506db3c.zip CMake-7c0844d2f4f98d40bc4bb7be89cc75740506db3c.tar.gz CMake-7c0844d2f4f98d40bc4bb7be89cc75740506db3c.tar.bz2 |
BUG#682: Adding environment variable check to FIND_PACKAGE command.
Diffstat (limited to 'Modules/FindVTK.cmake')
-rw-r--r-- | Modules/FindVTK.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake index d2acc9a..519815f 100644 --- a/Modules/FindVTK.cmake +++ b/Modules/FindVTK.cmake @@ -65,6 +65,9 @@ IF(NOT VTK_DIR) # Support legacy cache files. ${VTK_DIR_SEARCH_LEGACY} + # Look for an environment variable VTK_DIR. + $ENV{VTK_DIR} + # Look in places relative to the system executable search path. ${VTK_DIR_SEARCH} |