Skip to content
Snippets Groups Projects
Commit b3571458 authored by Lucas Givord's avatar Lucas Givord
Browse files

cmake: use 'Python3_' instead of PYTHON_' executable option

Only Python3_EXECUTABLE is set when using python, these tests weren't
compiled and used previously.
parent 7d4b71e3
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ vtk_add_test_cxx(vtkParallelCoreCxxTests tests
)
vtk_test_cxx_executable(vtkParallelCoreCxxTests tests)
if (PYTHON_EXECUTABLE)
if (Python3_EXECUTABLE)
vtk_module_test_executable(
vtkParallelCore-TestSocketCommunicator TestSocketCommunicator.cxx)
......
......@@ -17,7 +17,7 @@ set(all_tests
)
vtk_test_cxx_executable(vtkRenderingParallelCxxTests-MPI all_tests)
if (PYTHON_EXECUTABLE)
if (Python3_EXECUTABLE)
vtk_module_test_executable(
vtkRenderingParallel-TestClientServerRendering TestClientServerRendering.cxx)
......
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