chore(build): cache FetchContent dependencies across build directories (#7221)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Raphael Coeffic
2026-06-22 14:32:30 +10:00
committed by GitHub
co-authored by Claude Opus 4.6
parent d67604f9f5
commit 94f5d50ffc
9 changed files with 42 additions and 21 deletions
+3 -1
View File
@@ -5,7 +5,9 @@ include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest
GIT_TAG f8d7d77c06936315286eb55f8de22cd23c188571 # v1.14.0
GIT_TAG v1.14.0 # f8d7d77c06936315286eb55f8de22cd23c188571
GIT_SHALLOW TRUE
UPDATE_DISCONNECTED TRUE
)
# For Windows: Prevent overriding the parent project's compiler/linker settings