summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-21 19:58:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-21 19:58:09 (GMT)
commit78bce9b4b389b0f78d8200bc257a76dcb7380b49 (patch)
tree18cc387afd8f0f37c334c17ca9e48e68d6c4d92b /fortran
parent13edfb217585eee6fe9f9f20d0b3198c1bb5af98 (diff)
downloadhdf5-78bce9b4b389b0f78d8200bc257a76dcb7380b49.zip
hdf5-78bce9b4b389b0f78d8200bc257a76dcb7380b49.tar.gz
hdf5-78bce9b4b389b0f78d8200bc257a76dcb7380b49.tar.bz2
[svn-r20128] Add fortran mod folder to INCLUDE_DIRS for gfortran 4.2.x.
Add test dependicies to correct the order of tests - cmake 2.8.4 bug - but also will improve cmake parallel testing. Tested: local linux, jam
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index af9d5a3..d5cbc1b 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -74,7 +74,7 @@ ADD_CUSTOM_COMMAND (
DEPENDS H5fortran_detect
)
-INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR})
+INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})
#-----------------------------------------------------------------------------
ADD_EXECUTABLE (H5match_types
${HDF5_F90_BINARY_DIR}/H5fort_type_defines.h