mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 14:44:40 +00:00
Add to readme FetchContent section to automatically turn off building tests and samples
This commit is contained in:
parent
5614b96e5a
commit
90945c5c95
@ -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