您当前的位置: 首页 >  ar

Can‘t find third_party/gtest. Run git submodule update --init, or disable with CMake -DBUILD_TEST

柳鲲鹏 发布时间:2021-06-01 14:36:01 ,浏览量:0

使用cmake编译时的一个错误。详细来说:

CMake Error at CMakeLists.txt:565 (message):
  Can't find third_party/gtest.  Run git submodule update --init, or disable
  with CMake -DBUILD_TESTS=OFF.

 解决办法

cmake .. -DBUILD_TESTS=OFF

 

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0504s