Re: [CMake] How does VTK_USE_FILE get set? - .. handling bug

2008-01-25 Thread Orion Poplawski

Orion Poplawski wrote:
Can someone explain how FindVTK.cmake sets VTK_USE_FILE?  I don't see 
anywhere in there where it is set.  Must be a side effect of some other 
command?


On my system, VTK_USE_FILE is getting set to 
/usr/bin/usr/lib/vtk-5.0/UseVTK.cmake instead of 
/usr/lib/vtk-5.0/UseVTK.cmake.


In my CMakeCache.txt file, VTK_DIR gets set to:

VTK_DIR:PATH=/usr/bin/../lib/vtk-5.0

If I change to:

VTK_DIR:PATH=/usr/lib/vtk-5.0

and rerun cmake, all is well.  So it looks like something isn't handling 
.. correctly in the path.  This is with cmake 2.4.8 on Fedora 8.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  [EMAIL PROTECTED]
Boulder, CO 80301  http://www.cora.nwra.com
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] How does VTK_USE_FILE get set?

2008-01-24 Thread Orion Poplawski
Can someone explain how FindVTK.cmake sets VTK_USE_FILE?  I don't see 
anywhere in there where it is set.  Must be a side effect of some other 
command?


On my system, VTK_USE_FILE is getting set to 
/usr/bin/usr/lib/vtk-5.0/UseVTK.cmake instead of 
/usr/lib/vtk-5.0/UseVTK.cmake.


Thanks!

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  [EMAIL PROTECTED]
Boulder, CO 80301  http://www.cora.nwra.com
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake