Skip to content

Commit

Permalink
Switch to source code tar.gz instead of git clones for FetchContent
Browse files Browse the repository at this point in the history
  • Loading branch information
toroidal-code committed Feb 25, 2024
1 parent 4cc7c0e commit df8a03a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ cmake_policy(SET CMP0135 NEW)
include(FetchContent)

FetchContent_Declare(argparse
GIT_REPOSITORY https://github.com/p-ranav/argparse/
GIT_TAG v3.0
URL https://github.com/p-ranav/argparse/archive/refs/tags/v3.0.tar.gz
)
FetchContent_MakeAvailable(argparse)

FetchContent_Declare(cxx-prettyprint
GIT_REPOSITORY https://github.com/louisdx/cxx-prettyprint
GIT_TAG master
URL https://github.com/louisdx/cxx-prettyprint/archive/refs/heads/master.tar.gz
)
FetchContent_MakeAvailable(cxx-prettyprint)

Expand Down

0 comments on commit df8a03a

Please sign in to comment.