diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2020-12-22 20:48:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 20:48:37 (GMT) |
commit | 1c71a6c833806a885a16ccaca44f39f2fb272ba0 (patch) | |
tree | 78556a69c38f2aef0959e65a7e47671a425c4ca9 /c++/src | |
parent | c95cccec75d8880e6b2c58cf1fc252314df262a6 (diff) | |
download | hdf5-1c71a6c833806a885a16ccaca44f39f2fb272ba0.zip hdf5-1c71a6c833806a885a16ccaca44f39f2fb272ba0.tar.gz hdf5-1c71a6c833806a885a16ccaca44f39f2fb272ba0.tar.bz2 |
Update pkgconfig settings with version - #218 (#223)
Diffstat (limited to 'c++/src')
-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 98c6024..ba08f16 100644 --- a/c++/src/CMakeLists.txt +++ b/c++/src/CMakeLists.txt @@ -196,8 +196,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 |