[CMake] No FindVTK.cmake in cmake 3.1.2

Robert Maynard robert.maynard at kitware.com
Fri Apr 10 14:50:48 EDT 2015


The VTK find module has been removed as it was a thin wrapper around
find_package(VTK NO_MODULE). You can find this documented at
http://www.cmake.org/cmake/help/v3.2/module/FindVTK.html

VTK should have came with/built a VTKConfig.cmake that you can CMake at.

On Fri, Apr 10, 2015 at 6:52 AM, Rahul Kumar Soni <rahulsoni at immt.res.in> wrote:
> Hi I am newbie to the cmake. I have installed vtk5.10.1 through cygwin in
> windows. The vtk is installed in /cygwin/VTK5.10.1 and its libraries are in
> /usr/local/lib/vtk-5.10.
>
> I had earlier did similar things in ubuntu and there I required to set the
> vtk directory in the FindVTK.cmake file with the following command.
> SET (VTK_DIR "/usr/local/lib/vtk-5.10")
>
> However, in cmake3.1.2 I don't find the file FindVTK.cmake. Have searched a
> lot over internet but no luck. Found that it has something to do with the
> find_package(VTK REQUIRED). But really helpless, how to do it.
>
> Please anyone help or provide a weblink with the proper guidance.
> --
> Sincerely
>
> Rahul Kumar Soni
>
> Scientist, Institute of Minerals & Materials Technology
> Council of Scientific & Industrial Research, Govt. of India
>
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake


More information about the CMake mailing list