box2d: don't build examples
They fail to build and aren't included in the output anyway.
This commit is contained in:
parent
0b0430928b
commit
580125f6fc
|
@ -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…
Reference in New Issue