diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:38:27 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:38:27 (GMT) |
commit | dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7 (patch) | |
tree | f117fb90b9a2c271f9f87f8f65b3cf016cb899e0 /config | |
parent | 46c21c305aa10e72b64b66f937cf1d222b152356 (diff) | |
download | hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.zip hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.gz hdf5-dff14cbe2673f82ff24ce928eb3e6ff4e6dbd9b7.tar.bz2 |
Fix EXISTS test syntax
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake_ext_mod/runTest.cmake | 2 | ||||
-rw-r--r-- | config/toolchain/build32.cmake | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake index 100de3e..e601653 100644 --- a/config/cmake_ext_mod/runTest.cmake +++ b/config/cmake_ext_mod/runTest.cmake @@ -204,7 +204,7 @@ endif () # compare output files to references unless this must be skipped if (NOT TEST_SKIP_COMPARE) - if (EXISTS ${TEST_FOLDER}/${TEST_REFERENCE}) + if (EXISTS "${TEST_FOLDER}/${TEST_REFERENCE}") if (WIN32 OR MINGW) configure_file(${TEST_FOLDER}/${TEST_REFERENCE} ${TEST_FOLDER}/${TEST_REFERENCE}.tmp NEWLINE_STYLE CRLF) file(RENAME ${TEST_FOLDER}/${TEST_REFERENCE}.tmp ${TEST_FOLDER}/${TEST_REFERENCE}) diff --git a/config/toolchain/build32.cmake b/config/toolchain/build32.cmake index 3d9197d..d078956 100644 --- a/config/toolchain/build32.cmake +++ b/config/toolchain/build32.cmake @@ -11,7 +11,7 @@ else () set (LIB32 /usr/lib) # Fedora - if (EXISTS /usr/lib32) + if (EXISTS "/usr/lib32") set (LIB32 /usr/lib32) # Arch, Solus endif () @@ -26,7 +26,7 @@ else () # on Fedora and Arch and similar, point pkgconfig at 32 bit .pc files. We have # to include the regular system .pc files as well (at the end), because some # are not always present in the 32 bit directory - if (EXISTS ${LIB32}/pkgconfig) + if (EXISTS "${LIB32}/pkgconfig") set (ENV{PKG_CONFIG_LIBDIR} ${LIB32}/pkgconfig:/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig) endif () # where is the target environment |