diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-02-12 21:52:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-02-12 21:52:48 (GMT) |
commit | ab75986b8c70369cf86efcb42ffaadc5647d51b9 (patch) | |
tree | 647ebffa5bc374035efab449575e21011fa8174e /CMakeLists.txt | |
parent | 1b784081847f83b99807021a73673e591f27272f (diff) | |
download | hdf5-ab75986b8c70369cf86efcb42ffaadc5647d51b9.zip hdf5-ab75986b8c70369cf86efcb42ffaadc5647d51b9.tar.gz hdf5-ab75986b8c70369cf86efcb42ffaadc5647d51b9.tar.bz2 |
[svn-r26161] Fix cmake case.
Turn on F2003 by default.
Set source properties in fortran cmake files.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a8b276..2c16d56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -805,7 +805,7 @@ if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/for if (BUILD_SHARED_LIBS AND APPLE) message (FATAL_ERROR " **** Shared FORTRAN libraries are unsupported **** ") endif (BUILD_SHARED_LIBS AND APPLE) - option (HDF5_ENABLE_F2003 "Enable FORTRAN 2003 Standard" OFF) + option (HDF5_ENABLE_F2003 "Enable FORTRAN 2003 Standard" ON) include (${HDF_RESOURCES_EXT_DIR}/HDFUseFortran.cmake) if (HDF5_ENABLE_F2003) if (NOT FORTRAN_HAVE_ISO_C_BINDING) |