ENH: Add ability to find VTK 5 without user help.
This commit is contained in:
parent
1b956e9b74
commit
859db10e2a
|
@ -44,7 +44,12 @@ IF(NOT VTK_DIR)
|
||||||
# Construct a set of paths relative to the system search path.
|
# Construct a set of paths relative to the system search path.
|
||||||
SET(VTK_DIR_SEARCH "")
|
SET(VTK_DIR_SEARCH "")
|
||||||
FOREACH(dir ${VTK_DIR_SEARCH2})
|
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)
|
ENDFOREACH(dir)
|
||||||
|
|
||||||
# Old scripts may set these directories in the CMakeCache.txt file.
|
# Old scripts may set these directories in the CMakeCache.txt file.
|
||||||
|
|
Loading…
Reference in New Issue