highfive: fix build with cmake 4
This commit is contained in:
@@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-DHIGHFIVE_EXAMPLES=OFF"
|
"-DHIGHFIVE_EXAMPLES=OFF"
|
||||||
"-DHIGHFIVE_UNIT_TESTS=OFF"
|
"-DHIGHFIVE_UNIT_TESTS=OFF"
|
||||||
"-DHIGHFIVE_USE_INSTALL_DEPS=ON"
|
"-DHIGHFIVE_USE_INSTALL_DEPS=ON"
|
||||||
|
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
|
||||||
]
|
]
|
||||||
++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
|
++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user