summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-22 21:39:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-22 21:39:31 (GMT)
commit29064dcb109359d3b17a8c361d172fa077012e7c (patch)
tree30d178f72293538b79fce213af90a917b4fc2eb2
parent5b5079652915b02f097309ae3fe295721f03142b (diff)
downloadhdf5-29064dcb109359d3b17a8c361d172fa077012e7c.zip
hdf5-29064dcb109359d3b17a8c361d172fa077012e7c.tar.gz
hdf5-29064dcb109359d3b17a8c361d172fa077012e7c.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 ()