mirror of
https://github.com/minecraft-linux/mcpelauncher-manifest
synced 2024-11-13 13:59:18 +00:00
94bc336310
* synchronize x11 access * allow to use snmalloc instead of system allocator
15 lines
405 B
CMake
15 lines
405 B
CMake
include(FetchContent)
|
|
|
|
set(SNMALLOC_HEADER_ONLY_LIBRARY ON)
|
|
set(SNMALLOC_USE_CXX17 ON)
|
|
|
|
FetchContent_Declare(
|
|
snmalloc_ext
|
|
URL "https://github.com/microsoft/snmalloc/archive/refs/tags/0.6.1.zip"
|
|
)
|
|
|
|
FetchContent_GetProperties(snmalloc_ext)
|
|
if(NOT snmalloc_ext_POPULATED)
|
|
FetchContent_Populate(snmalloc_ext)
|
|
add_subdirectory(${snmalloc_ext_SOURCE_DIR} ${snmalloc_ext_BINARY_DIR})
|
|
endif() |