robotology / ycm-cmake-modules

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

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

Closed traversaro closed 10 months ago

traversaro commented 10 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.