i18nsite commented on PR #3255:
URL: https://github.com/apache/kvrocks/pull/3255#issuecomment-3515600798

   我对cmake不是很熟悉,我看还有一些方案是如下,但是我不太确定怎么修改:
   
   https://discourse.nixos.org/t/dealing-with-cmake-fetchcontent/34768/3
   The generic solution to this issue is to convince upstream to use 
FetchContent_Declare with FIND_PACKAGE_ARGS, so that FetchContent_MakeAvailable 
short-circuits if we provide it a ready dependency from Nixpkgs (vcpkg, debian, 
etc). This also requires a reasonably up-to-date cmake version
   这个问题的通用解决方案是说服上游将 FetchContent_Declare 与 FIND_PACKAGE_ARGS 一起使用,这样如果我们为它提供来自 
Nixpkgs(vcpkg、debian 等)的现成依赖项,FetchContent_MakeAvailable 短路。这也需要一个相当最新的 cmake 版本
   
   


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