cmake Can‘t find third_party/gtest

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cmake Can‘t find third_party/gtest相关的知识,希望对你有一定的参考价值。

详细错误

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

 

以上是关于cmake Can‘t find third_party/gtest的主要内容,如果未能解决你的问题,请参考以下文章

can't find which disk is full

can't find object是啥意思

JavaScript ReferenceError: Can’t find variable: __doPostBack

Can't find model 'en'

ReactNative关于Can’t find variable: XXX

ReactNative关于Can’t find variable: XXX