summaryrefslogtreecommitdiffstats
path: root/Modules/FindHDF5.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-03-15 16:54:19 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-03-15 16:54:19 (GMT)
commit8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f (patch)
treea74cee67719252124a3ca029302d21d573a0ac97 /Modules/FindHDF5.cmake
parentc1ba262a978be2f033d72434b0106a771755660f (diff)
downloadCMake-8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f.zip
CMake-8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f.tar.gz
CMake-8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f.tar.bz2
FindHDF5: fix quoting
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 36cd335..24a356c 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -520,7 +520,7 @@ if(NOT HDF5_FOUND)
foreach(L IN LISTS HDF5_${__lang}_LIBRARY_NAMES)
set(_HDF5_SEARCH_NAMES_LOCAL)
- if(x"${L}" MATCHES "hdf5")
+ if("x${L}" MATCHES "hdf5")
# hdf5 library
set(_HDF5_SEARCH_OPTS_LOCAL ${_HDF5_SEARCH_OPTS})
if(UNIX AND HDF5_USE_STATIC_LIBRARIES)