smesh: fixup build with gcc 11

https://hydra.nixos.org/build/173707855
This commit is contained in:
Vladimír Čunát 2022-04-17 09:56:20 +02:00
parent 9a96bf8530
commit 1ca464f98f
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ opencascade ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
NIX_CFLAGS_COMPILE = [ "-std=c++11" ];
meta = with lib; {
description = "Extension to OCE providing advanced meshing features";
homepage = "https://github.com/tpaviot/smesh";