diff options
author | Brad King <brad.king@kitware.com> | 2006-05-23 14:40:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-23 14:40:40 (GMT) |
commit | 859db10e2a3ad6e0f6356ad6f119604e18ba72fb (patch) | |
tree | 5de250f66632f56df5b1bde60f699fc2fdcf4934 | |
parent | 1b956e9b741bebfbcefb40a3e58e7cbf83ae92e6 (diff) | |
download | CMake-859db10e2a3ad6e0f6356ad6f119604e18ba72fb.zip CMake-859db10e2a3ad6e0f6356ad6f119604e18ba72fb.tar.gz CMake-859db10e2a3ad6e0f6356ad6f119604e18ba72fb.tar.bz2 |
ENH: Add ability to find VTK 5 without user help.
-rw-r--r-- | Modules/FindVTK.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake index eca57d6..f79a702 100644 --- a/Modules/FindVTK.cmake +++ b/Modules/FindVTK.cmake @@ -44,7 +44,12 @@ IF(NOT VTK_DIR) # Construct a set of paths relative to the system search path. SET(VTK_DIR_SEARCH "") FOREACH(dir ${VTK_DIR_SEARCH2}) - SET(VTK_DIR_SEARCH ${VTK_DIR_SEARCH} "${dir}/../lib/vtk") + SET(VTK_DIR_SEARCH ${VTK_DIR_SEARCH} + ${dir}/../lib/vtk-5.2 + ${dir}/../lib/vtk-5.1 + ${dir}/../lib/vtk-5.0 + ${dir}/../lib/vtk + ) ENDFOREACH(dir) # Old scripts may set these directories in the CMakeCache.txt file. |