box2d: don't build examples

They fail to build and aren't included in the output anyway.
wip/yesman
Piotr Bogdan 6 years ago
parent 0b0430928b
commit 580125f6fc
  1. 6
      pkgs/development/libraries/box2d/default.nix

@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
unzip cmake libGLU_combined freeglut libX11 xproto inputproto libXi
];
cmakeFlags = [ "-DBOX2D_INSTALL=ON" "-DBOX2D_BUILD_SHARED=ON" ];
cmakeFlags = [
"-DBOX2D_INSTALL=ON"
"-DBOX2D_BUILD_SHARED=ON"
"-DBOX2D_BUILD_EXAMPLES=OFF"
];
prePatch = ''
substituteInPlace Box2D/Common/b2Settings.h \

Loading…
Cancel
Save