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 /c++ | |
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 'c++')
-rw-r--r-- | c++/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt index de2306e..13eb795 100644 --- a/c++/src/CMakeLists.txt +++ b/c++/src/CMakeLists.txt @@ -194,8 +194,8 @@ if (BUILD_SHARED_LIBS) set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_CPP_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 |