问题:
CMake Error at CMake Error at /usr/src/gmock/gtest/cmake/internal_utils.cmake:130 (add_library)
add_library cannot create target “gtest” because another target with the
same name already exists. The existing target is a shared library created
in source directory “/usr/src/gtest”. See documentation for policy CMP0002
for more details.
解决方法:
在/usr/src/gmock/gtest/中的CMakeLists.txt文件中注释掉如下几行:
cartographer CMake Error at /usr/src/gmock/gtest/cmake/internal_utils.cmake:130 (add_library)

相关文章:

  • 2022-02-18
  • 2022-12-23
  • 2021-10-05
  • 2021-10-26
  • 2021-06-07
  • 2021-06-27
  • 2021-07-18
  • 2021-07-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-06-14
  • 2021-10-06
  • 2022-12-23
相关资源
相似解决方案