You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a project using catkin is included as a subproject to a non catkin project, collisions for GoogleTest targets (GMock and GTest) can occur. catkin does not test if these targets already exist before trying to import them leading to traces similar to this:
CMake Error at /usr/share/cmake-3.16/Modules/ExternalProject.cmake:3182 (add_custom_target):
add_custom_target cannot create target "GMock" because another target with
the same name already exists. The existing target is a custom target
created in source directory "/mnt/p/Dev/CLionProjects/uasgroundrisk". See
documentation for policy CMP0002 for more details.
This can be fixed by checking for existing targets before importing them.
The text was updated successfully, but these errors were encountered:
When a project using
catkin
is included as a subproject to a noncatkin
project, collisions for GoogleTest targets (GMock
andGTest
) can occur.catkin
does not test if these targets already exist before trying to import them leading to traces similar to this:This can be fixed by checking for existing targets before importing them.
The text was updated successfully, but these errors were encountered: