From f6ce47b7dbdcb60e81ac06d2a7dc94dc88b73f18 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 3 May 2016 06:46:54 +0000
Subject: [PATCH] add -DENABLE_GMSHPY_SOURCE_PACKAGE=1 for dynamic builds

---
 utils/nightly/gmsh_linux64.ctest | 1 +
 utils/nightly/gmsh_mac.ctest     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/utils/nightly/gmsh_linux64.ctest b/utils/nightly/gmsh_linux64.ctest
index c5d0f37977..9e09e29f03 100644
--- a/utils/nightly/gmsh_linux64.ctest
+++ b/utils/nightly/gmsh_linux64.ctest
@@ -28,6 +28,7 @@ set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.5.2")
 set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.5.2")
 if(BUILD_DYNAMIC)
   set(OPT "${OPT} -DENABLE_BUILD_DYNAMIC=1 -DENABLE_WRAP_PYTHON=1")
+  set(OPT "${OPT} -DENABLE_GMSHPY_SOURCE_PACKAGE=1")
 endif(BUILD_DYNAMIC)
 set(CTEST_BUILD_OPTIONS ${OPT})
 include(gmsh.ctest)
diff --git a/utils/nightly/gmsh_mac.ctest b/utils/nightly/gmsh_mac.ctest
index f514215c2d..7c12adc1b3 100644
--- a/utils/nightly/gmsh_mac.ctest
+++ b/utils/nightly/gmsh_mac.ctest
@@ -30,6 +30,7 @@ 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_GMSHPY_SOURCE_PACKAGE=1")
   set(OPT "${OPT} -DENABLE_OS_SPECIFIC_INSTALL=0")
 endif(BUILD_DYNAMIC)
 set(CTEST_BUILD_OPTIONS ${OPT})
-- 
GitLab