ceres-solver: avoid opportunistic linkage against tbb

Closes #30959.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Chongyu Zhu 2018-08-10 12:42:05 +08:00
parent e23c033b66
commit 7f343779e0
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -3,7 +3,7 @@ class CeresSolver < Formula
homepage "http://ceres-solver.org/"
url "http://ceres-solver.org/ceres-solver-1.14.0.tar.gz"
sha256 "4744005fc3b902fed886ea418df70690caa8e2ff6b5a90f3dd88a3d291ef8e8e"
revision 2
revision 3
head "https://ceres-solver.googlesource.com/ceres-solver.git"
bottle do
@ -26,7 +26,8 @@ class CeresSolver < Formula
"-DEIGEN_INCLUDE_DIR=#{Formula["eigen"].opt_include}/eigen3",
"-DMETIS_LIBRARY=#{Formula["metis"].opt_lib}/libmetis.dylib",
"-DGLOG_INCLUDE_DIR_HINTS=#{Formula["glog"].opt_include}",
"-DGLOG_LIBRARY_DIR_HINTS=#{Formula["glog"].opt_lib}"
"-DGLOG_LIBRARY_DIR_HINTS=#{Formula["glog"].opt_lib}",
"-DTBB=OFF"
system "make"
system "make", "install"
pkgshare.install "examples", "data"