robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
50 stars 22 forks source link

Get rid of vendored CatchAddTests module #427

Open traversaro opened 1 year ago

traversaro commented 1 year ago

YCM has a vendored CatchAddTests modules that is creating problems as it shadows the same module from Catch: https://github.com/conda-forge/librobometry-feedstock/pull/4/checks?check_run_id=11471884087 . We should get rid of it.

traversaro commented 1 year ago

An easy workaround is just to set YCM_USE_3RDPARTY to OFF before calling find_package(YCM), see https://github.com/robotology/ycm/blob/bb64cf9ac776b856faebe401a92d79fea45ac779/YCMConfig.cmake.in#L66 .