mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
sci-libs/hdf5: workaround build failure with older hdf5 installed
Thanks to upstream for the helpful suggestion! Bug: https://github.com/HDFGroup/hdf5/issues/1027 Closes: https://bugs.gentoo.org/808633 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -67,6 +67,10 @@ pkg_setup() {
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# Workaround needed to allow build with USE=fortran when an older
|
||||
# version is installed. See bug #808633 and
|
||||
# https://github.com/HDFGroup/hdf5/issues/1027 upstream.
|
||||
-DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
-DHDF5_BUILD_EXAMPLES=OFF
|
||||
|
||||
Reference in New Issue
Block a user