Skip to content

Commit db83a2c

Browse files
committed
speed up git clone with shallow
1 parent eac72ab commit db83a2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ FetchContent_Declare(
3434
h5fortran
3535
GIT_REPOSITORY https://github.com/geospace-code/h5fortran
3636
GIT_TAG v4.6.3
37+
GIT_SHALLOW true
3738
)
3839

3940
FetchContent_Declare(
4041
jsonfortran
4142
GIT_REPOSITORY https://github.com/jacobwilliams/json-fortran
4243
GIT_TAG 8.3.0
44+
GIT_SHALLOW true
4345
)
4446

4547
FetchContent_MakeAvailable(h5fortran jsonfortran)

0 commit comments

Comments
 (0)