[vtkusers] Specifying VTK Path in CMakeLists.txt
John Drescher
drescherjm at gmail.com
Sat Apr 11 10:07:36 EDT 2009
On Sat, Apr 11, 2009 at 9:53 AM, David Doria <daviddoria at gmail.com> wrote:
> If I use this:
> ---------------------------
> FIND_PACKAGE(VTK REQUIRED)
> INCLUDE(${VTK_USE_FILE})
> ---------------------------
>
> CMake prompts me to enter the path to VTK and then everything works
> properly. I thought I could specify the path in the CMakeLists.txt file like
> this:
>
One way to get around the prompt is by setting VTK_DIR in your environment.
John
More information about the vtkusers
mailing list