diff --git a/Projects/apple/paraview.bundle.cmake b/Projects/apple/paraview.bundle.cmake
index a66d5c9..411643c 100644
--- a/Projects/apple/paraview.bundle.cmake
+++ b/Projects/apple/paraview.bundle.cmake
@@ -87,7 +87,7 @@ if (mpi_ENABLED AND NOT USE_SYSTEM_mpi)
 endif()
 #-----------------------------------------------------------------------------
 
-if (matplotlib_ENABLED)
+if (matplotlib_ENABLED AND NOT USE_SYSTEM_matplotlib)
   # install matplotlib module into the application bundle.
   install(CODE "
                 # install matplotlib
