WillAyd commented on code in PR #2249:
URL: https://github.com/apache/orc/pull/2249#discussion_r2135824487


##########
c++/meson.build:
##########
@@ -16,7 +16,8 @@
 # under the License.
 
 # required dependencies
-protobuf_dep = dependency('protobuf')
+protobuf_proj = subproject('protobuf')
+protobuf_dep = protobuf_proj.get_variable('protobuf_dep')

Review Comment:
   > It looks like you're just doing this because the wrap file is an older 
style and doesn't include a `[provide]` section. The correct way to solve this 
is not via `subproject()`, but via the _older style_ of `dependency()`, which 
is, adding the `fallback: ['protobuf', 'protobuf_dep']` kwarg to the existing 
`dependency()`.
   
   That's exactly why - thanks for the guidance



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to