PragmaTwice commented on PR #564:
URL: 
https://github.com/apache/incubator-kvrocks/pull/564#issuecomment-1123152051

   > It seems that current script make conflict with system-wise library?
   
   Snappy use `find_package(gtest)` mechanism to locate gtest libs (in 
https://github.com/google/snappy/blob/b02bfa754ebf27921d8da3bd2517eab445b84ff9/CMakeLists.txt#L40).
   The newer version of Snappy do not use `find_package` any more, but for the 
current version, we probably should add `FindGTest.cmake` to tell Snappy we 
have already build our own gtest.
   BTW, we acctually defined `SNAPPY_BUILD_TESTS`, so gtest is useless for 
Snappy.
   


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