summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-13 14:06:45 (GMT)
committerGitHub <noreply@github.com>2023-02-13 14:06:45 (GMT)
commitec3046853dd20874b03f395e6a8b380669dd7ee7 (patch)
treee5c41d6ab8bc35c69bff4496e2235e241678aa4c /c++
parent09d21433abc3bd488764711754c1c9dce44161d2 (diff)
downloadhdf5-ec3046853dd20874b03f395e6a8b380669dd7ee7.zip
hdf5-ec3046853dd20874b03f395e6a8b380669dd7ee7.tar.gz
hdf5-ec3046853dd20874b03f395e6a8b380669dd7ee7.tar.bz2
1.10 Correct requires setting for pkgconfig files #2280 (#2284)
--------- Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Diffstat (limited to 'c++')
-rw-r--r--c++/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt
index 0686480..49b169e 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}-${HDF5_PACKAGE_VERSION}")
-set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
+set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}")
+set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}")
configure_file (
${HDF_CONFIG_DIR}/libhdf5.pc.in