diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-11-24 12:20:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 12:20:59 (GMT) |
commit | a067bf71f57723d2dfca7dfe2ffd9ea502eccd4f (patch) | |
tree | e95b12890114f30483a964bfadd53cbb9f38a2c5 | |
parent | ccc1ebd6fe4e755d9bb38d86e9b2c933b5d06bdc (diff) | |
download | hdf5-a067bf71f57723d2dfca7dfe2ffd9ea502eccd4f.zip hdf5-a067bf71f57723d2dfca7dfe2ffd9ea502eccd4f.tar.gz hdf5-a067bf71f57723d2dfca7dfe2ffd9ea502eccd4f.tar.bz2 |
Fix configuration issue due to possibly empty CMake variable (#3869)
-rw-r--r-- | test/API/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/API/CMakeLists.txt b/test/API/CMakeLists.txt index 43c26f0..f034c71 100644 --- a/test/API/CMakeLists.txt +++ b/test/API/CMakeLists.txt @@ -191,7 +191,7 @@ if (HDF5_TEST_SERIAL) if ("h5_api_test_${api_test}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") set_tests_properties (h5_api_test_${api_test} PROPERTIES DISABLED true) endif () - set_tests_properties (h5_api_test_${api_test} PROPERTIES DEPENDS ${last_api_test}) + set_tests_properties (h5_api_test_${api_test} PROPERTIES DEPENDS "${last_api_test}") set (last_api_test "h5_api_test_${api_test}") endforeach () @@ -251,7 +251,7 @@ if (HDF5_TEST_SERIAL) PROPERTIES ENVIRONMENT "${vol_test_env}" WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${external_vol_tgt} - DEPENDS ${last_api_test} + DEPENDS "${last_api_test}" ) if ("${external_vol_tgt}-h5_api_test_${api_test}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") set_tests_properties (${external_vol_tgt}-h5_api_test_${api_test} PROPERTIES DISABLED true) @@ -308,7 +308,7 @@ if (HDF5_TEST_SERIAL) if ("h5_api_test_${api_test}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") set_tests_properties (h5_api_test_${api_test} PROPERTIES DISABLED true) endif () - set_tests_properties (h5_api_test_${api_test} PROPERTIES DEPENDS ${last_api_test}) + set_tests_properties (h5_api_test_${api_test} PROPERTIES DEPENDS "${last_api_test}") set (last_api_test "h5_api_test_${api_test}") endforeach () @@ -360,7 +360,7 @@ if (HDF5_TEST_SERIAL) PROPERTIES ENVIRONMENT "${vol_test_env}" WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${external_vol_tgt} - DEPENDS ${last_api_test} + DEPENDS "${last_api_test}" ) if ("${external_vol_tgt}-h5_api_test_${api_test}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") set_tests_properties (${external_vol_tgt}-h5_api_test_${api_test} PROPERTIES DISABLED true) |