summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-22 21:38:32 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-22 21:38:32 (GMT)
commitcdf9cb0efb31e36df080ee2f1f14453181574901 (patch)
tree505fd2b170a1c4099371418b571bcf38e28e028e
parent91249b9ad5172f768c120c069cdc9e6b484c11aa (diff)
downloadhdf5-cdf9cb0efb31e36df080ee2f1f14453181574901.zip
hdf5-cdf9cb0efb31e36df080ee2f1f14453181574901.tar.gz
hdf5-cdf9cb0efb31e36df080ee2f1f14453181574901.tar.bz2
Cleanup variable names
-rw-r--r--config/cmake/HDF5UseFortran.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index a24b2e1..6b77ca4 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -57,8 +57,8 @@ endmacro ()
# Read source line beginning at the line matching Input:"START" and ending at the line matching Input:"END"
macro (READ_SOURCE SOURCE_START SOURCE_END RETURN_VAR)
- file (READ "${HDF5_SOURCE_DIR}/m4/aclocal_fc.f90" SOURCE_CODE)
- string (REGEX MATCH "${SOURCE_START}[\\\t\\\n\\\r[].+]*${SOURCE_END}" SOURCE_CODE ${SOURCE_CODE})
+ file (READ "${HDF5_SOURCE_DIR}/m4/aclocal_fc.f90" SOURCE_MASTER)
+ string (REGEX MATCH "${SOURCE_START}[\\\t\\\n\\\r[].+]*${SOURCE_END}" SOURCE_CODE ${SOURCE_MASTER})
set (RETURN_VAR "${SOURCE_CODE}")
endmacro ()