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 /hl/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 'hl/c++')
-rw-r--r-- | hl/c++/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt index 77382c2..0c9b04b 100644 --- a/hl/c++/src/CMakeLists.txt +++ b/hl/c++/src/CMakeLists.txt @@ -105,8 +105,8 @@ if (BUILD_SHARED_LIBS) set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_HL_CPP_LIB_CORENAME}") endif () -set (_PKG_CONFIG_REQUIRES "${HDF5_HL_LIB_CORENAME}") -set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_HL_LIB_CORENAME}") +set (_PKG_CONFIG_REQUIRES "${HDF5_HL_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") +set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_HL_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") configure_file ( ${HDF_RESOURCES_DIR}/libhdf5.pc.in |