## ADOLC ##
################################################################################
-# Option {ON|OFF}: Choose whether to load the tarball or the git repository.
-CANDI_ADOLC_LOAD_TARBALL=ON
+# By default load the tarball.
+# To load the git repository define a variable CANDI_ADOLC_LOAD_TARBALL=OFF.
+if [ -z ${CANDI_ADOLC_LOAD_TARBALL} ]; then
+ CANDI_ADOLC_LOAD_TARBALL=ON
+fi
if [ ${CANDI_ADOLC_LOAD_TARBALL} = ON ]; then
# download release tarball
if [ ! -z "${OPENCASCADE_DIR}" ]; then
cecho ${INFO} "deal.II: configuration with OPENCASCADE"
CONFOPTS="${CONFOPTS} \
- -D DEAL_II_WITH_OPENCASCADE:BOOL=ON"
+ -D DEAL_II_WITH_OPENCASCADE:BOOL=ON \
+ -D OPENCASCADE_DIR=${OPENCASCADE_DIR}"
fi
########################################
if [ ! -z "${SYMENGINE_DIR}" ]; then
cecho ${INFO} "deal.II: configuration with SYMENGINE"
CONFOPTS="${CONFOPTS} \
- -D DEAL_II_WITH_SYMENGINE:BOOL=ON"
+ -D DEAL_II_WITH_SYMENGINE:BOOL=ON \
+ -D SYMENGINE_DIR=${SYMENGINE_DIR}"
fi
########################################
if [ ! -z "${ADOLC_DIR}" ]; then
cecho ${INFO} "deal.II: configuration with ADOLC"
CONFOPTS="${CONFOPTS} \
- -D DEAL_II_WITH_ADOLC:BOOL=ON"
+ -D DEAL_II_WITH_ADOLC:BOOL=ON \
+ -D ADOLC_DIR=${ADOLC_DIR}"
fi
################################################################################
## GMSH ##
################################################################################
-# Option {ON|OFF}: Choose whether to load the tarball or the git repository.
-CANDI_GMSH_LOAD_TARBALL=ON
+# By default load the tarball.
+# To load the git repository define a variable CANDI_GMSH_LOAD_TARBALL=OFF.
+if [ -z ${CANDI_GMSH_LOAD_TARBALL} ]; then
+ CANDI_GMSH_LOAD_TARBALL=ON
+fi
if [ ${CANDI_GMSH_LOAD_TARBALL} = ON ]; then
# see http://gmsh.info/src/
## OPENCASCADE ##
################################################################################
-# Option {ON|OFF}: Choose whether to load the tarball or the git repository.
-CANDI_OPENCASCADE_LOAD_TARBALL=ON
+# By default load the tarball.
+# To load the git repository define a variable CANDI_OPENCASCADE_LOAD_TARBALL=OFF.
+if [ -z ${CANDI_OPENCASCADE_LOAD_TARBALL} ]; then
+ CANDI_OPENCASCADE_LOAD_TARBALL=ON
+fi
if [ ${CANDI_OPENCASCADE_LOAD_TARBALL} = ON ]; then
# download release tarball
## SYMENGINE ##
################################################################################
-# Option {ON|OFF}: Choose whether to load the tarball or the git repository.
-CANDI_SYMENGINE_LOAD_TARBALL=OFF
+# By default load the tarball.
+# To load the git repository define a variable CANDI_SYMENGINE_LOAD_TARBALL=OFF.
+if [ -z ${CANDI_SYMENGINE_LOAD_TARBALL} ]; then
+ CANDI_SYMENGINE_LOAD_TARBALL=ON
+fi
if [ ${CANDI_SYMENGINE_LOAD_TARBALL} = ON ]; then
# download release tarball