diff --git a/utils/nightly/gmsh_mac.ctest b/utils/nightly/gmsh_mac.ctest
index 9aaeb355a397cf5345ef62854a57ae92c4048e59..42547c7adfef5e4b1d79e2dc317bd83b933ac9d2 100644
--- a/utils/nightly/gmsh_mac.ctest
+++ b/utils/nightly/gmsh_mac.ctest
@@ -27,6 +27,7 @@ set(OPT "${OPT} -DENABLE_CAIRO=0")
 set(OPT "${OPT} -DPETSC_ARCH=macosx_complex_mumps_seq")
 set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.5.2")
 set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.5.2")
+set(OPT "${OPT} -DBLAS_LAPACK_LIBRARIES=/usr/local/lib/libopenblas.a")
 if(BUILD_DYNAMIC)
   set(OPT "${OPT} -DENABLE_BUILD_DYNAMIC=1 -DENABLE_WRAP_PYTHON=1")
   set(OPT "${OPT} -DENABLE_OS_SPECIFIC_INSTALL=0")