Hi all,
In Numpy.cmake you have "if( MITK_USE_Python AND NOT MITK_USE_SYSTEM_PYTHON )”.
But in VTK.cmake you have:
if(MITK_USE_Python)
if(NOT MITK_USE_SYSTEM_PYTHON)
list(APPEND proj_DEPENDENCIES Python)
set(_vtk_install_python_dir
-DVTK_INSTALL_PYTHON_MODULE_DIR:FILEPATH=${MITK_PYTHON_SITE_DIR})
else()
set(_vtk_install_python_dir
-DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=${ep_prefix}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
endif()
So, if MITK_USE_SYSTEM_PYTHON=ON, then Numpy wont be compiled, or installed,
and yet VTK will be compiled with Python, and installed to one of two different
places as MITK_PYTHON_SITE_DIR is under the Python_DIR.
Is that right?
And, do you regularly use MITK_USE_SYSTEM_PYTHON?
THanks
Matt
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users