aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/ode.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ode.rb b/Library/Formula/ode.rb
index d7fae02d7..7ab710070 100644
--- a/Library/Formula/ode.rb
+++ b/Library/Formula/ode.rb
@@ -14,6 +14,7 @@ class Ode < Formula
end
option 'enable-double-precision', 'Compile ODE with double precision'
+ option 'enable-libccd', 'enable all libccd colliders (except box-cylinder)'
depends_on 'pkg-config' => :build
@@ -21,6 +22,7 @@ class Ode < Formula
args = ["--prefix=#{prefix}",
"--disable-demos"]
args << "--enable-double-precision" if build.include? 'enable-double-precision'
+ args << "--enable-libccd" if build.include? "enable-libccd"
if build.head?
ENV['LIBTOOLIZE'] = 'glibtoolize'