From d8d11d36c0e337f1f67a811250c948012a9bee88 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 28 Oct 2024 10:48:56 +0100 Subject: [PATCH] Mark CPM_SOURCE_CACHE as a CACHE variable By omitting the variable CPM_SOURCE_CACHE as CACHE'd, it is actually given to CPM, but does not appear when viewing it's content, e.g., through ccmake. Mark is as CACHE so that it will also appear. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af48eca7b3..48fe9562c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ set (OPENAIR_DIR ${CMAKE_SOURCE_DIR}) include("cmake_targets/macros.cmake") if(NOT DEFINED ENV{CPM_SOURCE_CACHE}) - set(CPM_SOURCE_CACHE ~/.cache/cpm/) + set(CPM_SOURCE_CACHE ~/.cache/cpm/ CACHE FILEPATH "Directory to download CPM dependencies") endif() include("cmake_targets/CPM.cmake")