Re: [PATCH] cmake: stop FetchContent from fetching content

Khem Raj

On 2/9/22 4:53 AM, Ross Burton wrote:
CMake includes a FetchContent module, which will download further
source code at configure time. With the network isolation this will now
fail, but as not all environments support network isolation we can tell
cmake to not download either for extra safety.
what is cmake's default ? I think it could become a constant source of pain if it is not default. Since many cmake based packages might start to depend on it indirectly in future.

Signed-off-by: Ross Burton <ross.burton@...>
meta/classes/cmake.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 92b9197c487..fac7bbca7a3 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -189,6 +189,7 @@ cmake_do_configure() {

Join { to automatically receive all group messages.