summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-16 18:17:12 (GMT)
committerGitHub <noreply@github.com>2020-12-16 18:17:12 (GMT)
commit3114e5f4a49131ca1e26cbf1e614f7e867a20285 (patch)
tree68cde408dd4200442d88046cecabb038ce8cee80 /hl
parenta84a29566c22ab46146f8127ea4289937c59c526 (diff)
downloadhdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.zip
hdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.tar.gz
hdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.tar.bz2
HDF5 1 8 fix fortran build on macs (#186)
* Correct fortran and shared libs option * Fix for no shared fortran build
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index dc5803b..edde831 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -245,8 +245,8 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_HL_F90_LIB_CORENAME}")
endif ()
-set (_PKG_CONFIG_REQUIRES "${HDF5_F90_LIB_CORENAME}")
-set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_F90_LIB_CORENAME}")
+set (_PKG_CONFIG_REQUIRES "${HDF5_HL_LIB_CORENAME}")
+set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_HL_LIB_CORENAME}")
configure_file (
${HDF_RESOURCES_DIR}/libhdf5.pc.in