aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ode.rb
diff options
context:
space:
mode:
authorCyril Picard2014-04-30 14:06:04 +0200
committerAdam Vandenberg2014-04-30 19:07:58 -0700
commit43b1b8f8bf1d3fce611fb8398202906352de7daa (patch)
tree1b6ca22a1c4f97b17edbabdd6161a16a4fce2917 /Library/Formula/ode.rb
parent9e337f7044acfb30c0b0df89c4f291f97755cd7d (diff)
downloadhomebrew-43b1b8f8bf1d3fce611fb8398202906352de7daa.tar.bz2
ode: add enable-libccd option
Closes #28854. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ode.rb')
-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'