summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-12-07 22:05:51 (GMT)
committerGitHub <noreply@github.com>2022-12-07 22:05:51 (GMT)
commitdcccc355261e305a1d877a798d7fd46556b3cbce (patch)
tree9ca2885e65a46abbfcb8600916a0755f98e035de /hl/c++
parent64514392fb6b18691afc993c31787d098bbe278d (diff)
downloadhdf5-dcccc355261e305a1d877a798d7fd46556b3cbce.zip
hdf5-dcccc355261e305a1d877a798d7fd46556b3cbce.tar.gz
hdf5-dcccc355261e305a1d877a798d7fd46556b3cbce.tar.bz2
Correct requires setting for pkgconfig files (#2280)
* Correct requires setting for pkgconfig files * Add issue number
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt
index c411796..3949624 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}-${HDF5_PACKAGE_VERSION}")
-set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_HL_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
+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_CONFIG_DIR}/libhdf5.pc.in