Skip to content

Commit

Permalink
Updating variable cashing (attempt to read variable in parent projects).
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Oct 28, 2024
1 parent 8090c52 commit ed57364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed57364

Please sign in to comment.