summaryrefslogtreecommitdiffstats
path: root/c++/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-11-04 15:37:17 (GMT)
committerGitHub <noreply@github.com>2022-11-04 15:37:17 (GMT)
commit52854566ecad891ee60458777932539d3edab6e0 (patch)
treeacf73fd6f48220b972e0c53ecccb18bee072dff5 /c++/src
parent7a1885451213244da0b244338435830fc4dd6ea1 (diff)
downloadhdf5-52854566ecad891ee60458777932539d3edab6e0.zip
hdf5-52854566ecad891ee60458777932539d3edab6e0.tar.gz
hdf5-52854566ecad891ee60458777932539d3edab6e0.tar.bz2
1.12 Merge HDFGroup#2175 Implement option for using CMake GNUInstallDirs (#2221)
Diffstat (limited to 'c++/src')
-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 2a37dea..c8fc82d 100644
--- a/c++/src/CMakeLists.txt
+++ b/c++/src/CMakeLists.txt
@@ -173,8 +173,8 @@ endif ()
#-----------------------------------------------------------------------------
set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
-set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
-set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
+set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${HDF5_INSTALL_LIB_DIR})
+set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${HDF5_INSTALL_INCLUDE_DIR})
set (_PKG_CONFIG_LIBNAME "${HDF5_CPP_LIB_CORENAME}")
set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")