summaryrefslogtreecommitdiffstats
path: root/hl/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-21 19:23:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-21 19:23:59 (GMT)
commitb7d6f11182f148c0d0fff8d077d7fa342080d98c (patch)
tree0aa0ffedde62d58bb836993809394d58268a9727 /hl/fortran
parent0c6110e586985aa6d2356b739179130c5d79e9c1 (diff)
downloadhdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.zip
hdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.tar.gz
hdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.tar.bz2
HDFFV-10703 - Update CMake variable handling
Diffstat (limited to 'hl/fortran')
-rw-r--r--hl/fortran/test/CMakeLists.txt4
-rw-r--r--hl/fortran/test/CMakeTests.cmake4
2 files changed, 4 insertions, 4 deletions
diff --git a/hl/fortran/test/CMakeLists.txt b/hl/fortran/test/CMakeLists.txt
index 923989d..fca2852 100644
--- a/hl/fortran/test/CMakeLists.txt
+++ b/hl/fortran/test/CMakeLists.txt
@@ -70,8 +70,8 @@ macro (ADD_H5_FORTRAN_EXE file)
endif ()
endmacro ()
-foreach (test ${H5_TESTS})
- ADD_H5_FORTRAN_EXE(${test})
+foreach (h5_test ${H5_TESTS})
+ ADD_H5_FORTRAN_EXE(${h5_test})
endforeach ()
include (CMakeTests.cmake)
diff --git a/hl/fortran/test/CMakeTests.cmake b/hl/fortran/test/CMakeTests.cmake
index 04a49dc..54cc6ef 100644
--- a/hl/fortran/test/CMakeTests.cmake
+++ b/hl/fortran/test/CMakeTests.cmake
@@ -87,6 +87,6 @@ if (BUILD_SHARED_LIBS)
)
endif ()
-foreach (test ${H5_TESTS})
- ADD_H5_FORTRAN_TEST(${test})
+foreach (h5_test ${H5_TESTS})
+ ADD_H5_FORTRAN_TEST(${h5_test})
endforeach ()