diff --git a/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2020b.eb b/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2020b.eb index b4161f95eaf..c92d21af64b 100644 --- a/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2020b.eb +++ b/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2020b.eb @@ -54,6 +54,7 @@ configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include " # Python configopts += "-DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION=3 -DVTK_PYTHON_OPTIONAL_LINK=OFF " +configopts += '-DPython3_EXECUTABLE=$EBROOTPYTHON/bin/python ' # Other configopts += "-DVTK_USE_MPI=ON " configopts += "-DCMAKE_INSTALL_LIBDIR=lib" diff --git a/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2021a.eb b/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2021a.eb index b6987d9bb81..c2ca95e963f 100644 --- a/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2021a.eb +++ b/easybuild/easyconfigs/v/VTK/VTK-9.0.1-foss-2021a.eb @@ -49,6 +49,7 @@ configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include " # Python configopts += "-DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION=3 -DVTK_PYTHON_OPTIONAL_LINK=OFF " +configopts += '-DPython3_EXECUTABLE=$EBROOTPYTHON/bin/python ' # Other configopts += "-DVTK_USE_MPI=ON " configopts += "-DCMAKE_INSTALL_LIBDIR=lib"