diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-10-25 15:50:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 15:50:43 (GMT) |
commit | ea902f9acefec5303cb3e3527d4472e97956a122 (patch) | |
tree | 80be2bb4a7e373a81d8bde511e361d3cd8bfcdca /c++ | |
parent | f98c93ab193bd7258f165de8c61a1809087975ee (diff) | |
download | hdf5-ea902f9acefec5303cb3e3527d4472e97956a122.zip hdf5-ea902f9acefec5303cb3e3527d4472e97956a122.tar.gz hdf5-ea902f9acefec5303cb3e3527d4472e97956a122.tar.bz2 |
Implement option for using CMake GNUInstallDirs (#2175)
* Implement option for using CMake GNUInstallDirs
* Add release notes
Diffstat (limited to 'c++')
-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 92ff6c7..9aabcd8 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}") |