kou commented on PR #43465:
URL: https://github.com/apache/arrow/pull/43465#issuecomment-2257323672

   > I assume the special header target is necessary instead of just linking to 
gtest first?
   
   Right.
   If a test executable needs `arrow_testing_shared`, the test executable needs 
to link to `arrow_testing_shared` and `GTest::gtest*` but GoogleTest header 
files must exist before `arrow_testing_shared` and other system dependencies 
such as `OpenSSL::*`. If we have the special header target, we can use 
`GTest::gtest_headers`, `OpenSSL::*`, `arrow_testing_shared` and `GTest::gtest` 
order.


-- 
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