Skip to content

Commit

Permalink
(conan-io#15420) arrow/10.0.0: link re2 to libparquet and libarrow
Browse files Browse the repository at this point in the history
* link re2 to `libparquet` and `libarrow`

fixes conan-io#15413

* require re2 only from enabled components
  • Loading branch information
dvirtz authored and sabelka committed Feb 12, 2023
1 parent a13ce1d commit 315ff82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion recipes/arrow/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,11 @@ def package_info(self):
if self.options.with_mimalloc:
self.cpp_info.components["libarrow"].requires.append("mimalloc::mimalloc")
if self._with_re2():
self.cpp_info.components["libgandiva"].requires.append("re2::re2")
if self.options.gandiva:
self.cpp_info.components["libgandiva"].requires.append("re2::re2")
if self._parquet():
self.cpp_info.components["libparquet"].requires.append("re2::re2")
self.cpp_info.components["libarrow"].requires.append("re2::re2")
if self._with_llvm():
self.cpp_info.components["libgandiva"].requires.append("llvm-core::llvm-core")
if self._with_protobuf():
Expand Down

0 comments on commit 315ff82

Please sign in to comment.