[Cmake] VTK_SOURCE_DIR

Sylvain Jaume jaume at tele.ucl.ac.be
Mon Dec 10 21:29:52 EST 2001


Hello all,

How to change the value of VTK_SOURCE_DIR ?

I use Linux RedHat 7.1
I'd like to create a directory Local in my home directory, with my vtk
classes in it, and a directory Local-build where I run:
cmake ../Local
gmake
gmake install

However when I type cmake ../Local in ~/Local-build, I get

CMake Error: INCLUDE: Error : 
INCLUDE Include file not found: ${VTK_SOURCE_DIR}/vtkCMakeOptions.cmake
/home/jaume/Local

What's the solution?

Even setting 'export VTK_SOURCE_DIR=/home/jaume/VTK' in my .bashrc does
not solve the problem.

I will appreciate very much your help.

Sylvain




More information about the CMake mailing list