[vtk-developers] find_package(vtk) not supporting version anymore

Bill Lorensen bill.lorensen at gmail.com
Tue Jan 15 00:43:38 EST 2019


Have you completely removed your VTK_DIR?

On Mon, Jan 14, 2019, 8:47 PM Simon Drouin <drouin.simon at gmail.com wrote:

> Hi All,
>
> It seems the recent changes in vtk-config.cmake have dropped support for
> specifying a version when calling find_package( vtk ). It this the intended
> new behaviour?
>
> See the modified c++ example from the vtk source attached. The output of
> cmake (3.10.1 on macOS 10.14) is the following:
>
> CMake Error at CMakeLists.txt:6 (find_package):
> Could not find a configuration file for package "VTK" that is compatible
> with requested version "8.90.0".
>
> The following configuration files were considered but not accepted:
>
> /Users/simon/ibis/vtk-git/build-deb-qt-5.9.7-osx-10.10/vtk-config.cmake,
> version: unknown
>
>
> cmake doesn't seem to be able to determine the version now.
>
> s.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190114/7ea01ad8/attachment.html>


More information about the vtk-developers mailing list