From 7394683eaa1c12748480548fc90fb7c4bf10dc69 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 5 Jul 2025 16:26:56 +0800 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80b1008b..e7cb7388 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,6 @@ project(pocketpy) set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) -include(FetchContent) include(CMakeOptions.txt) if(WIN32) @@ -78,6 +77,8 @@ endif() if(PK_ENABLE_MIMALLOC) message(">> Fetching mimalloc") + include(FetchContent) + FetchContent_Declare( mimalloc GIT_REPOSITORY https://github.com/microsoft/mimalloc.git