Skip to content

Commit 6a06843

Browse files
Solve the problem of not being able to compile on macos system (#241)
Signed-off-by: junjie.jiang <[email protected]>
1 parent 4ebd1da commit 6a06843

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conanfile.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class MilvusLiteConan(ConanFile):
4646
"gtest:build_gmock": False,
4747
"onetbb:tbbmalloc": False,
4848
"onetbb:tbbproxy": False,
49-
"onetbb:tbbbind": False,
5049
"boost:without_locale": True,
5150
"boost:without_test": True,
5251
"boost:without_stacktrace": True,
@@ -74,6 +73,10 @@ def configure(self):
7473
if self.settings.compiler.libcxx == "libstdc++":
7574
raise Exception("This package is only compatible with libstdc++11")
7675

76+
def config_options(self):
77+
if self.settings.os != "Macos":
78+
self.options["onetbb"].tbbbind = False
79+
7780
def requirements(self):
7881
if self.settings.os not in ["Macos", "Android"]:
7982
self.requires("libunwind/1.7.2")

0 commit comments

Comments
 (0)