openvdb: use --with-test

This commit is contained in:
Baptiste Fontaine 2015-12-08 11:47:18 +01:00
parent cada62be92
commit dd43461b8b

View file

@ -13,10 +13,12 @@ class Openvdb < Formula
end
option "with-viewer", "Installs the command-line tool to view OpenVDB files"
option "with-tests", "Installs the unit tests for the OpenVDB library"
option "with-test", "Installs the unit tests for the OpenVDB library"
option "with-logging", "Requires log4cplus"
option "with-docs", "Installs documentation"
deprecated_option "with-tests" => "with-test"
depends_on "openexr"
depends_on "ilmbase"
depends_on "tbb"
@ -29,7 +31,7 @@ class Openvdb < Formula
end
depends_on "homebrew/versions/glfw3" if build.with? "viewer"
depends_on "cppunit" if build.with? "tests"
depends_on "cppunit" if build.with? "test"
depends_on "doxygen" if build.with? "docs"
depends_on "log4cplus" if build.with? "logging"
needs :cxx11