arrow: explicitly disable RE2 and UTF8PROC flags when not in dependencies (#35353)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
parent
52ccee79d8
commit
60ecd0374e
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,11 @@ def cmake_args(self):
|
|||
args.append(self.define_from_variant("ARROW_WITH_ZLIB", "zlib"))
|
||||
args.append(self.define_from_variant("ARROW_WITH_ZSTD", "zstd"))
|
||||
|
||||
if not self.spec.dependencies("re2"):
|
||||
args.append(self.define("ARROW_WITH_RE2", False))
|
||||
if not self.spec.dependencies("utf8proc"):
|
||||
args.append(self.define("ARROW_WITH_UTF8PROC", False))
|
||||
|
||||
if self.spec.satisfies("@:8"):
|
||||
args.extend(
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue