ceres-solver: avoid opportunistic linkage against tbb
Closes #30959. Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
parent
e23c033b66
commit
7f343779e0
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue