mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
418f50c29a
commit
7394683eaa
@ -5,7 +5,6 @@ project(pocketpy)
|
|||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
include(FetchContent)
|
|
||||||
include(CMakeOptions.txt)
|
include(CMakeOptions.txt)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
@ -78,6 +77,8 @@ endif()
|
|||||||
|
|
||||||
if(PK_ENABLE_MIMALLOC)
|
if(PK_ENABLE_MIMALLOC)
|
||||||
message(">> Fetching mimalloc")
|
message(">> Fetching mimalloc")
|
||||||
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
mimalloc
|
mimalloc
|
||||||
GIT_REPOSITORY https://github.com/microsoft/mimalloc.git
|
GIT_REPOSITORY https://github.com/microsoft/mimalloc.git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user