diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2020-12-22 20:47:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 20:47:56 (GMT) |
commit | 497e8382cd1e40864843991d19ebc0d19a206dcf (patch) | |
tree | 360f8b3510beae7fa9881241093bf8b3256db858 /fortran/src | |
parent | b3c1d1bf06b3fd765e93272f0c8d92c35c642fd1 (diff) | |
download | hdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.zip hdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.tar.gz hdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.tar.bz2 |
Update pkgconfig settings with version - #218 (#222)
Diffstat (limited to 'fortran/src')
-rw-r--r-- | fortran/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index 34d79a7..808a281 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -532,8 +532,8 @@ if (BUILD_SHARED_LIBS) set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_F90_LIB_CORENAME}") endif () -set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME}") -set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}") +set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") +set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") configure_file ( ${HDF_RESOURCES_DIR}/libhdf5.pc.in |