mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Merge pull request #293 from cobyj33/cobyj33-readme-fetch-conent-disable-testing
Add to readme cmake FetchContent section
This commit is contained in:
commit
31fb9e0336
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user