diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-03-24 16:29:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-03-24 16:29:13 (GMT) |
commit | 810285be8ea039c1ab68e981abe5fbb5b8c40244 (patch) | |
tree | b99dc0821cf4f4c2ae14363f72bcc2f966e84b0b /fortran/src | |
parent | f251a0219ca3ebd748dac80637d3c74a290b9506 (diff) | |
download | hdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.zip hdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.tar.gz hdf5-810285be8ea039c1ab68e981abe5fbb5b8c40244.tar.bz2 |
[svn-r24876] Move includes command up before all programs
Diffstat (limited to 'fortran/src')
-rw-r--r-- | fortran/src/CMakeLists.txt | 4 |
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 |