diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-04-05 14:50:00 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-04-05 14:50:00 (GMT) |
commit | 5f09c885de387eefee8cff23b5a9ee16e19dbbc4 (patch) | |
tree | c36e1e86cf23a49e3230fd61cd6ee45e0e2618b5 | |
parent | 7db14a3f2aad0c89d3e609de27cd0425a53479db (diff) | |
download | hdf5-5f09c885de387eefee8cff23b5a9ee16e19dbbc4.zip hdf5-5f09c885de387eefee8cff23b5a9ee16e19dbbc4.tar.gz hdf5-5f09c885de387eefee8cff23b5a9ee16e19dbbc4.tar.bz2 |
Correct config find checks
-rw-r--r-- | config/cmake/hdf5-config.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cmake/hdf5-config.cmake.in b/config/cmake/hdf5-config.cmake.in index be4187d..d68e664 100644 --- a/config/cmake/hdf5-config.cmake.in +++ b/config/cmake/hdf5-config.cmake.in @@ -149,6 +149,7 @@ foreach (libtype IN LISTS ${HDF5_PACKAGE_NAME}_LIB_TYPE) set (hdf5_comp2 "hdf5_hl_f90cstub") set (hdf5_comp "hdf5_hl_fortran") endif () + list (FIND ${HDF5_PACKAGE_NAME}_EXPORT_LIBRARIES "${hdf5_comp}-${libtype}" HAVE_COMP) if (${HAVE_COMP} LESS 0) set (${HDF5_PACKAGE_NAME}_${libtype}_${comp}_FOUND 0) else () |