miniob icon indicating copy to clipboard operation
miniob copied to clipboard

chore: install deps using FetchContent

Open sheny1xuan opened this issue 2 years ago • 2 comments

使用cmake的FetchContent 安装依赖,简化编译流程

sheny1xuan avatar Oct 13 '22 13:10 sheny1xuan

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


stonex seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Oct 13 '22 13:10 CLAassistant

试用了一下,编译会很方便。但是这里有几个问题:

  1. 编译libevent的时候,会使用openssl;
  2. 每次重新clone下来miniob的代码,在编译的时候,都会去拉取这三个依赖项。这个对miniob的测试平台伤害比较大,可能会导致测试失败。是否有办法在当前环境中已经安装了这些依赖的时候,就不会再查找依赖?

hnwyllmm avatar Oct 14 '22 02:10 hnwyllmm