An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 0ca34546 authored by jcfr's avatar jcfr
Browse files

COMP: External_VTK - Pass PYTHON_EXECUTABLE to VTK project

Python executable is required to compile the VTK python modules

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15615 3bd1e089-480b-0410-8dfb-8563597acbee
parent 589f1c40
...@@ -35,6 +35,7 @@ if(NOT DEFINED VTK_DIR OR NOT DEFINED VTK_SOURCE_DIR) ...@@ -35,6 +35,7 @@ if(NOT DEFINED VTK_DIR OR NOT DEFINED VTK_SOURCE_DIR)
set(VTK_PYTHON_ARGS) set(VTK_PYTHON_ARGS)
if(Slicer_USE_PYTHON OR Slicer_USE_PYTHONQT) if(Slicer_USE_PYTHON OR Slicer_USE_PYTHONQT)
set(VTK_PYTHON_ARGS set(VTK_PYTHON_ARGS
-DPYTHON_EXECUTABLE:PATH=${slicer_PYTHON_EXECUTABLE}
-DPYTHON_INCLUDE_DIR:PATH=${slicer_PYTHON_INCLUDE} -DPYTHON_INCLUDE_DIR:PATH=${slicer_PYTHON_INCLUDE}
-DPYTHON_LIBRARY:FILEPATH=${slicer_PYTHON_LIBRARY} -DPYTHON_LIBRARY:FILEPATH=${slicer_PYTHON_LIBRARY}
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment