天天看点

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      

继续阅读