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

   I first try to use `find_library` to find `libstdc++.a`, but in some 
environment (like github actions), cmake cannot find it via `find_library` but 
`gcc -static-libstdc++` actually works.
   So I change the method to `try_compile`, the command will try to compile 
source files with some special compile&link options to test whether these 
options exist.


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