Skip to content

Commit df8a03a

Browse files
committed
Switch to source code tar.gz instead of git clones for FetchContent
1 parent 4cc7c0e commit df8a03a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ cmake_policy(SET CMP0135 NEW)
99
include(FetchContent)
1010

1111
FetchContent_Declare(argparse
12-
GIT_REPOSITORY https://github.com/p-ranav/argparse/
13-
GIT_TAG v3.0
12+
URL https://github.com/p-ranav/argparse/archive/refs/tags/v3.0.tar.gz
1413
)
1514
FetchContent_MakeAvailable(argparse)
1615

1716
FetchContent_Declare(cxx-prettyprint
18-
GIT_REPOSITORY https://github.com/louisdx/cxx-prettyprint
19-
GIT_TAG master
17+
URL https://github.com/louisdx/cxx-prettyprint/archive/refs/heads/master.tar.gz
2018
)
2119
FetchContent_MakeAvailable(cxx-prettyprint)
2220

0 commit comments

Comments
 (0)