aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@fb53df36-e548-4a1e-8150-ab98cbd5e786>2011-11-02 14:34:19 +0000
committerknarf <knarf@fb53df36-e548-4a1e-8150-ab98cbd5e786>2011-11-02 14:34:19 +0000
commit6947341cec40f8e4322d0be2736d104d642680bb (patch)
tree7a3e648b31ed421d033bc09bd209568e31f0b56b
parentd81f0b2017b1340a7445a09967fd253da72a6a90 (diff)
also include the lib dir in HDF5_INC_DIRS for libraries in /usr (because of fortran .mod files)
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@44 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--HDF5.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/HDF5.sh b/HDF5.sh
index b75b82c..2ac68f8 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -193,7 +193,8 @@ fi
# Set options
if [ "${HDF5_DIR}" = '/usr' -o "${HDF5_DIR}" = '/usr/local' ]; then
- HDF5_INC_DIRS=''
+ # Fortran modules may be located in the lib directory
+ HDF5_INC_DIRS='${HDF5_DIR}/lib'
HDF5_LIB_DIRS=''
else
# Fortran modules may be located in the lib directory