diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-12-12 15:30:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 15:30:03 (GMT) |
commit | b31ee1b608e57a1e0e917d9b1eefa7c695e52e0d (patch) | |
tree | 411d005340ad9638446525a2eea253725f64a5dc /hl/fortran | |
parent | 0d2c4d0a59eedafb967a4921628319ac347ba634 (diff) | |
download | hdf5-b31ee1b608e57a1e0e917d9b1eefa7c695e52e0d.zip hdf5-b31ee1b608e57a1e0e917d9b1eefa7c695e52e0d.tar.gz hdf5-b31ee1b608e57a1e0e917d9b1eefa7c695e52e0d.tar.bz2 |
1.8 Correct requires setting for pkgconfig files #2280 (#2285)
* Correct requires setting for pkgconfig files #2280
* Change macos for CI
Diffstat (limited to 'hl/fortran')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index 2bae90f..25adcf7 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -246,8 +246,8 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_HL_F90_LIB_CORENAME}") endif () -set (_PKG_CONFIG_REQUIRES "${HDF5_F90_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") -set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_F90_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}") +set (_PKG_CONFIG_REQUIRES "${HDF5_F90_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}") +set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_F90_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}") configure_file ( ${HDF_CONFIG_DIR}/libhdf5.fpc.in |