Skip to content

Commit

Permalink
Use GIT_SHALLOW and GIT_PROGRESS
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Apr 18, 2019
1 parent 47d42a1 commit e4b86e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cmake/ycm-modules/BuildOpenRAVE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ ycm_ep_helper(OpenRAVE TYPE GIT
REPOSITORY rdiankov/openrave.git
TAG master
CMAKE_CACHE_ARGS "-DOPENRAVE_PLUGIN_FCLRAVE:BOOL=OFF;-DOPT_VIDEORECORDING:BOOL=OFF"
# in CMake 3.6+, use: GIT_SHALLOW TRUE
# note: does not perform --recursive (CMake 3.5, YCM 0.9)
DOWNLOAD_COMMAND git clone --depth 1 https://github.com/rdiankov/openrave.git OpenRAVE)
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE)
3 changes: 2 additions & 1 deletion cmake/ycm-modules/BuildYARP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ ycm_ep_helper(YARP TYPE GIT
STYLE GITHUB
REPOSITORY robotology/yarp.git
TAG master
CMAKE_CACHE_ARGS "-DSKIP_ACE:BOOL=ON;-DCREATE_LIB_MATH:BOOL=ON")
CMAKE_CACHE_ARGS "-DSKIP_ACE:BOOL=ON;-DCREATE_LIB_MATH:BOOL=ON"
GIT_PROGRESS TRUE)

0 comments on commit e4b86e7

Please sign in to comment.