天天看點

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      

繼續閱讀