arrow: fix conditional spec expression (#38212) (#38213)

This commit is contained in:
Pariksheet Nanda 2023-08-14 03:27:50 -04:00 committed by GitHub
parent 0681d9a157
commit 2bacab0402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ def cmake_args(self):
args.append(self.define_from_variant("ARROW_WITH_ZLIB", "zlib"))
args.append(self.define_from_variant("ARROW_WITH_ZSTD", "zstd"))
with when("@:8"):
if self.spec.satisfies("@:8"):
args.extend(
[
self.define("FLATBUFFERS_HOME", self.spec["flatbuffers"].prefix),