box2d: disable examples

The examples require extra libraries, and aren't even part of the final
installation.

Fixes Homebrew/homebrew#14756.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-13 14:09:53 -05:00
parent f650979c75
commit 7bf51092df

View file

@ -12,6 +12,7 @@ class Box2d < Formula
system "cmake", "..",
"-DBOX2D_INSTALL=ON",
"-DBOX2D_BUILD_SHARED=ON",
"-DBOX2D_BUILD_EXAMPLES=OFF",
*std_cmake_args
system "make install"
end