Open kapdon opened 1 year ago
I have some error. Please help.:
CMake Error at build/_deps/googletest-src/googletest/cmake/internal_utils.cmake:152 (add_library): add_library cannot create target "gmock" because another target with the same name already exists. The existing target is a static library created in source directory "/home/barnix/cpp/premia/src/lib/protobuf". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): build/_deps/googletest-src/googletest/cmake/internal_utils.cmake:205 (cxx_library_with_type) build/_deps/googletest-src/googlemock/CMakeLists.txt:97 (cxx_library)
Ubuntu 22.04
I think the submodules grpc's own cmake files is fighting with the project's own cmake files.