Commit 78927db6 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

paraview: fix python enable logic

parent 8fdabf25
......@@ -88,8 +88,8 @@ endif ()
set(PARAVIEW_USE_PYTHON ${python_enabled})
if (python_enabled AND
((USE_SYSTEM_python2 AND NOT python2_FIND_LIBRARIES) OR
(USE_SYSTEM_python3 AND NOT python3_FIND_LIBRARIES)))
((python2_enabled AND USE_SYSTEM_python2 AND NOT python2_FIND_LIBRARIES) OR
(python3_enabled AND USE_SYSTEM_python3 AND NOT python3_FIND_LIBRARIES)))
set(PARAVIEW_USE_PYTHON OFF)
endif()
......
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