[vtk-developers] Do we really need the VTK version of FindPythonLibs.cmake?

Ben Boeckel ben.boeckel at kitware.com
Thu Mar 19 09:15:33 EDT 2015


On Thu, Mar 19, 2015 at 07:11:00 -0600, David Gobbi wrote:
> That's a good point, but having separate cmake variables for each (e.g.
> PYTHON2_INCLUDE_DIRS for 2 vs. PYTHON_INCLUDE_DIRS for 3)
> is going to complicate the rest of our cmake scripts.

Well, with a 3.0-ized module system, we can just have a vtkpython target
with target_include_directories() set to the right one and then
everything else just links to that and gets all the right bits
automatically :) .

--Ben


More information about the vtk-developers mailing list