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

YCMEPHelper: add SHALLOW option to wrap EP's GIT_SHALLOW option #440

Closed traversaro closed 8 months ago

traversaro commented 8 months ago

ExternalProject supports the GIT_SHALLOW option to shallow clone a repo. However, when using YCMPHelper this option was not exposed. This PR ensure that an appropriate option exists in YCMEPHelper to pass GIT_SHALLOw to ExternalProject.