Commit 7d7546cf authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'categorical-colors-fixes'

a2285512 Fix link error.
parents db55f16c a2285512
......@@ -351,6 +351,7 @@ if (PYTHON_EXECUTABLE)
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import matplotlib"
RESULT_VARIABLE IMPORT_MATPLOTLIB_EXITCODE)
if (${IMPORT_MATPLOTLIB_EXITCODE} EQUAL 0)
set(PARAVIEW_MATPLOTLIB_MODULE vtkRenderingMatplotlib)
list (APPEND _vtk_modules vtkRenderingMatplotlib)
endif()
endif()
......
......@@ -12,7 +12,7 @@ add_executable(CoProcessingPythonScriptExample
PythonScriptCoProcessingExample.cxx
vtkPVCustomTestDriver.cxx)
target_link_libraries(CoProcessingPythonScriptExample
vtkCoProcessorImplementation vtkCPTestDriver)
vtkCoProcessorImplementation vtkCPTestDriver ${PARAVIEW_MATPLOTLIB_MODULE})
#------------------------------------------------------------------------------
# Generate the image compare tool.
......
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