summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-03-24 16:29:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-03-24 16:29:13 (GMT)
commit810285be8ea039c1ab68e981abe5fbb5b8c40244 (patch)
treeb99dc0821cf4f4c2ae14363f72bcc2f966e84b0b
parentf251a0219ca3ebd748dac80637d3c74a290b9506 (diff)
downloadhdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.zip
hdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.tar.gz
hdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.tar.bz2
[svn-r24876] Move includes command up before all programs
-rw-r--r--fortran/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 60057a3..88eb518 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -17,6 +17,8 @@ if (WIN32 AND NOT CYGWIN)
endif (BUILD_SHARED_LIBS)
endif (WIN32 AND NOT CYGWIN)
+INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})
+
#-----------------------------------------------------------------------------
# Setup the Fortran auto-detection utilities
# H5test_kind(_SIZEOF).f90 used to generate H5fortran_detect.f90
@@ -80,8 +82,6 @@ add_custom_command (
WORKING_DIRECTORY ${HDF5_F90_BINARY_DIR}
DEPENDS H5fortran_detect
)
-
-INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})
#-----------------------------------------------------------------------------
add_executable (H5match_types
${HDF5_F90_BINARY_DIR}/H5fort_type_defines.h