box2d: don't build examples

They fail to build and aren't included in the output anyway.
This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent 0b0430928b
commit 580125f6fc
1 changed files with 5 additions and 1 deletions

View File

@ -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 \