From 90945c5c95ff545ca033d4e636229b883727e713 Mon Sep 17 00:00:00 2001 From: cobyj33 Date: Wed, 25 Oct 2023 19:12:11 -0500 Subject: [PATCH] Add to readme FetchContent section to automatically turn off building tests and samples --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 489a02f7..9cb0293d 100644 --- a/README.md +++ b/README.md @@ -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