This commit is contained in:
@ -14,6 +14,13 @@ set(ZLIB_COMPAT ON CACHE BOOL "" FORCE)
|
||||
set(ZLIB_ENABLE_TESTS OFF CACHE BOOL "" FORCE)
|
||||
set(WITH_GZFILEOP ON CACHE BOOL "" FORCE)
|
||||
|
||||
FetchContent_Declare(
|
||||
Oxide
|
||||
GIT_REPOSITORY https://github.com/I-A-S/Oxide
|
||||
GIT_TAG main
|
||||
OVERRIDE_FIND_PACKAGE
|
||||
)
|
||||
|
||||
FetchContent_Declare(
|
||||
zlib
|
||||
GIT_REPOSITORY https://github.com/zlib-ng/zlib-ng.git
|
||||
@ -77,14 +84,6 @@ FetchContent_Declare(
|
||||
-P ${CMAKE_CURRENT_SOURCE_DIR}/CMake/PatchMimalloc.cmake
|
||||
)
|
||||
|
||||
FetchContent_Declare(
|
||||
tl-expected
|
||||
GIT_REPOSITORY https://github.com/TartanLlama/expected.git
|
||||
GIT_TAG v1.3.1
|
||||
SYSTEM
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
FetchContent_Declare(
|
||||
unordered_dense
|
||||
GIT_REPOSITORY https://github.com/martinus/unordered_dense.git
|
||||
@ -134,7 +133,7 @@ if(NOT TARGET zstd::libzstd)
|
||||
add_library(zstd::libzstd ALIAS libzstd_static)
|
||||
endif()
|
||||
|
||||
FetchContent_MakeAvailable(httplib pugixml nlohmann_json glaze simdjson tl-expected unordered_dense mimalloc highway)
|
||||
FetchContent_MakeAvailable(Oxide httplib pugixml nlohmann_json glaze simdjson unordered_dense mimalloc highway)
|
||||
|
||||
if(NOT TARGET simdjson::simdjson)
|
||||
add_library(simdjson::simdjson ALIAS simdjson)
|
||||
|
||||
Reference in New Issue
Block a user