This used to work fine, but no breaks on zesty. Set(CMAKE_CXX_FLAGS "$ -g -Wno-old-style-cast -Wno-missing- field-initializ ers") The CMakeLists.txt in our project that triggers this error does this: Install TARGETS given target "gmock" which does not exist in this txt:89 (cxx_library)ĬMake Error at /usr/src/ gmock/CMakeList s.txt:106 (install): Seeĭocumentation for policy CMP0002 for more details. The existing target is a static libraryĬreated in source directory "/usr/src/ googletest/ googlemock". txt:84 (cxx_library)Īdd_library cannot create target "gmock_main" because another target with usr/ src/googletest/ googletest/ cmake/internal_ utils.cmake: 172 (cxx_library_ with_type) In source directory "/usr/src/ googletest/ googlemock". The existing target is a static library created After upgrading to 1.8.0-2 (from 1.7.0-4), our previously-working builds break:ĬMake Error at /usr/src/ googletest/ googletest/ cmake/internal_ utils.cmake: 149 (add_library):Īdd_library cannot create target "gmock" because another target with the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |