summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/HDFUseFortran.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-02 18:11:19 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-02 18:11:19 (GMT)
commit0df90f9f796d543549a30a648e864932126b6f52 (patch)
tree141b6bb54d6cf88b95c81f30bba9c30b0d4f078f /config/cmake_ext_mod/HDFUseFortran.cmake
parenta04bf9bf7fa47fb3495d63d593efc0a23a36b1e1 (diff)
parentf4dd30f41ccee7bcd97fba065573c5201cbcc743 (diff)
downloadhdf5-0df90f9f796d543549a30a648e864932126b6f52.zip
hdf5-0df90f9f796d543549a30a648e864932126b6f52.tar.gz
hdf5-0df90f9f796d543549a30a648e864932126b6f52.tar.bz2
Merge pull request #321 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f4dd30f41ccee7bcd97fba065573c5201cbcc743': Update CMake formatting Update CMake files and formatting HDFFV-10120 verify nozlib checking with tools tests cmake non-code typo
Diffstat (limited to 'config/cmake_ext_mod/HDFUseFortran.cmake')
-rw-r--r--config/cmake_ext_mod/HDFUseFortran.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/HDFUseFortran.cmake b/config/cmake_ext_mod/HDFUseFortran.cmake
index 6a81e3a..bf254a1 100644
--- a/config/cmake_ext_mod/HDFUseFortran.cmake
+++ b/config/cmake_ext_mod/HDFUseFortran.cmake
@@ -26,7 +26,7 @@ set (H5_FC_FUNC_ "H5_FC_FUNC_(name,NAME) ${CMAKE_MATCH_1}")
# The provided CMake Fortran macros don't provide a general check function
# so this one is used for a sizeof test.
#-----------------------------------------------------------------------------
-MACRO (CHECK_FORTRAN_FEATURE FUNCTION CODE VARIABLE)
+macro (CHECK_FORTRAN_FEATURE FUNCTION CODE VARIABLE)
message (STATUS "Testing Fortran ${FUNCTION}")
if (CMAKE_REQUIRED_LIBRARIES)
set (CHECK_FUNCTION_EXISTS_ADD_LIBRARIES
@@ -63,7 +63,7 @@ MACRO (CHECK_FORTRAN_FEATURE FUNCTION CODE VARIABLE)
"Determining if the Fortran ${FUNCTION} exists failed with the following output:\n"
"${OUTPUT}\n\n")
endif ()
-ENDMACRO ()
+endmacro ()
#-----------------------------------------------------------------------------
# Configure Checks which require Fortran compilation must go in here