diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-02-15 21:48:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-02-15 21:48:24 (GMT) |
commit | 122b63a5a27227f2349634f4e8f8e43d739255f5 (patch) | |
tree | 195fb47964dd6c95844ad1ec4da210bdaa0b9c25 /hl/fortran | |
parent | 6ea0dafa41415c0888889214c82f75a02ec4a545 (diff) | |
download | hdf5-122b63a5a27227f2349634f4e8f8e43d739255f5.zip hdf5-122b63a5a27227f2349634f4e8f8e43d739255f5.tar.gz hdf5-122b63a5a27227f2349634f4e8f8e43d739255f5.tar.bz2 |
HDFFV-10703 Update CMake commands to latest standard
Diffstat (limited to 'hl/fortran')
-rw-r--r-- | hl/fortran/test/CMakeLists.txt | 4 | ||||
-rw-r--r-- | hl/fortran/test/CMakeTests.cmake | 4 |
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 () |