<div dir="auto">Have you completely removed your VTK_DIR?</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 14, 2019, 8:47 PM Simon Drouin <<a href="mailto:drouin.simon@gmail.com">drouin.simon@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All, <div><br></div><div>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?</div><div><br></div><div>See the modified c++ example from the vtk source attached. The output of cmake (3.10.1 on macOS 10.14) is the following:</div><div><br></div><div><p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">CMake Error at CMakeLists.txt:6 (find_package):<br>  Could not find a configuration file for package "VTK" that is compatible<br>  with requested version "8.90.0".<br><br>  The following configuration files were considered but not accepted:<br><br>    /Users/simon/ibis/vtk-git/build-deb-qt-5.9.7-osx-10.10/vtk-config.cmake, version: unknown</span></p><p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"><br></span></p>cmake doesn't seem to be able to determine the version now.</div><div><br></div><div>s.</div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtk-developers" rel="noreferrer noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>