<div dir="ltr">Hi all,<div><br></div><div style>I was reading over the build system migration guide</div><div style><a href="http://www.vtk.org/Wiki/VTK/Build_System_Migration">http://www.vtk.org/Wiki/VTK/Build_System_Migration</a><br>
</div><div style>and I had a question.</div><div style><br></div><div style>What if you have an application that you would like to support compilation against either VTK 5 or 6?  How should you handle that in CMake?</div>
<div style><br></div><div style>Reason: I would like my application to be able to build on Ubuntu with the version of vtk that you can get from apt-get install libvtk (Currently 5.8 and unlikely to update to 6.0 anytime soon as far as I know).  But when building for Mac or Windows where I have to compile vtk anyway, I would like to use the lastest version.  </div>
<div style><br></div><div style>I also like the idea of using only a subset of the vtk libraries as dependencies as explained in the migration guide.</div><div style><br></div><div style>If anyone can point me in the right direction I would appreciate it.</div>
<div style><br></div><div style>Shawn Waldon</div></div>