summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-29 19:43:35 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-29 19:43:35 (GMT)
commit0b6f5e88cd9215ff9daafda865ebe6d4794a6012 (patch)
tree3dc3dd18ceb9ac4245845133edea9f5b695c0e84 /config/toolchain
parented4cbbcc9bbda6c81f19fb4e7c04e948b46ce6fc (diff)
downloadhdf5-0b6f5e88cd9215ff9daafda865ebe6d4794a6012.zip
hdf5-0b6f5e88cd9215ff9daafda865ebe6d4794a6012.tar.gz
hdf5-0b6f5e88cd9215ff9daafda865ebe6d4794a6012.tar.bz2
Fix EXISTS test syntax
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/build32.cmake4
1 files changed, 2 insertions, 2 deletions
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