kparzysz-quic opened a new pull request #9201:
URL: https://github.com/apache/tvm/pull/9201


   The gtest framework requires two libraries: `gtest` and `gtest_main`. The 
former is found via `find_library`, which returns the full path to it. The 
latter is only added to target_link_libraries as `gtest_main`. Adding 
`gtest_main` to target_link_libraries causes cmake to emit `-lgtest_main`, but 
the path to it is not provided (there is no `-L` flag for it), and the link 
step can fail.
   
   As a fix, use `find_library` to get the full path to `gtest_main` as well.


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