Skip to content
Snippets Groups Projects
Commit d19b4db8 authored by Brad King's avatar Brad King
Browse files

COMP: Drop missing dependencies of target 'vtkpython_pyc'

CMake 3.0 introduces policy CMP0046 to diagnose missing dependencies
named by the add_dependencies command.  Drop such unused dependencies
from Wrapping/Python.

Change-Id: I60a976f92b51c10313910c12fbede46e90be9a96
parent 7df9a25f
No related branches found
No related tags found
No related merge requests found
......@@ -83,14 +83,6 @@ endif()
# Link against all the kit wrappers.
list(APPEND VTKPYTHON_LINK_LIBS vtkWrappingPythonCore)
set(vtkpython_pyc_depends
vtkCommonPython
vtkFilteringPython
vtkIOPython
vtkGraphicsPython
vtkImagingPython
)
if(PYTHON_UTIL_LIBRARY)
list(APPEND VTKPYTHON_LINK_LIBS ${PYTHON_UTIL_LIBRARY})
endif()
......@@ -265,7 +257,7 @@ if(PYTHON_EXECUTABLE)
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/vtk_compile_complete")
add_dependencies(vtkpython_pyc
vtkpython
${vtkpython_pyc_depends})
)
# If no runtime is to be installed then do not install python modules.
if(NOT VTK_INSTALL_NO_RUNTIME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment