Skip to content

Commit

Permalink
Add to readme FetchContent section to automatically turn off building…
Browse files Browse the repository at this point in the history
… tests and samples
  • Loading branch information
cobyj33 committed Oct 26, 2023
1 parent 5614b96 commit 90945c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,8 @@ PROJECT(myproject)
# fetch latest argparse
include(FetchContent)
set(ARGPARSE_BUILD_TESTS OFF CACHE INTERNAL "Turn off building argparse tests")
set(ARGPARSE_BUILD_SAMPLES OFF CACHE INTERNAL "Turn off building argparse samples")
FetchContent_Declare(
argparse
GIT_REPOSITORY https://github.com/p-ranav/argparse.git
Expand Down

0 comments on commit 90945c5

Please sign in to comment.