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

Bill Lorensen bill.lorensen at gmail.com
Tue Jan 15 01:00:19 EST 2019


Simon,

 tried on my cmakelists and it also fails for me.
I get the same error as you did.
Bill

On Mon, Jan 14, 2019 at 9:43 PM Bill Lorensen <bill.lorensen at gmail.com> wrote:
>
> 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
>>


-- 
Unpaid intern in BillsParadise at noware dot com


More information about the vtk-developers mailing list