mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
gnu: hdf5: Fix paths in hdf5-config.cmake.
Fixes: guix/guix#683 Passing an absolute path to -DHDF5_INSTALL_CMAKE_DIR causes the variable @PACKAGE_SHARE_INSTALL_DIR@ in config/install/hdf5-config.cmake.in to expand to a path that includes ${PACKAGE_PREFIX_DIR} twice in the generated hdf5-config.cmake. * gnu/packages/maths.scm (hdf5) [arguments] <#:configure-flags>: Change -DHDF5_INSTALL_CMAKE_DIR from absolute path to relative path. Change-Id: I0c793ad63a4a3d930a560a5094e08f2384f43b38 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
09a82860e4
commit
53b23512ee
1 changed files with 1 additions and 1 deletions
|
@ -1956,7 +1956,7 @@ extremely large and complex data collections.")
|
|||
;; Some of the users, notably Flann, need the C++ interface.
|
||||
#:configure-flags
|
||||
#~(list
|
||||
(string-append "-DHDF5_INSTALL_CMAKE_DIR=" #$output "/lib/cmake")
|
||||
"-DHDF5_INSTALL_CMAKE_DIR=lib/cmake"
|
||||
"-DHDF5_BUILD_CPP_LIB=ON"
|
||||
"-DHDF5_BUILD_FORTRAN=ON"
|
||||
;; Build a thread-safe library. Unfortunately, CMakeLists.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue