From ed573643e4df560508f620f5fcd1319b2519decc Mon Sep 17 00:00:00 2001 From: Simon Vidanovic Date: Mon, 28 Oct 2024 12:52:14 -0700 Subject: [PATCH] Updating variable cashing (attempt to read variable in parent projects). --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16f272d..f45a7a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ include(FetchContent) # Test from FileParse should not be visible here set(BUILD_FileParse_tests OFF CACHE BOOL "Build FileParse tests" FORCE) -set(some_variable "test" PARENT_SCOPE) +set(some_variable "test" CACHE INTERNAL "Some variable for subprojects") FetchContent_Declare( FileParse