Skip to content

Commit 9a40bcb

Browse files
committed
deps: Update libminecraft-file, cxxopts, nlohmann_json, minizip, and mimalloc
1 parent a1a301a commit 9a40bcb

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

CMakeLists.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ endif()
3434
CPMAddPackage(
3535
NAME libminecraft-file
3636
GITHUB_REPOSITORY kbinani/libminecraft-file
37-
GIT_TAG d97c4f2236c2573b67a5d4cf4151c33af530aafa)
37+
GIT_TAG f16f85893553e16f373f96e9033fec1a807b505c)
3838

3939
CPMAddPackage(
4040
NAME defer
@@ -471,16 +471,16 @@ CPMAddPackage(
471471
CPMAddPackage(
472472
NAME cxxopts
473473
GITHUB_REPOSITORY jarro2783/cxxopts
474-
VERSION 3.1.1
474+
VERSION 3.3.1
475475
OPTIONS "CXXOPTS_BUILD_EXAMPLES OFF"
476476
"CXXOPTS_BUILD_TESTS OFF")
477477

478478
CPMAddPackage(
479479
NAME nlohmann_json
480-
VERSION 3.11.3
480+
VERSION 3.12.0
481481
# the git repo is incredibly large, so we download the archived include directory
482-
URL https://github.com/nlohmann/json/releases/download/v3.11.3/include.zip
483-
URL_HASH SHA256=a22461d13119ac5c78f205d3df1db13403e58ce1bb1794edc9313677313f4a9d)
482+
URL https://github.com/nlohmann/json/releases/download/v3.12.0/include.zip
483+
URL_HASH SHA256=b8cb0ef2dd7f57f18933997c9934bb1fa962594f701cd5a8d3c2c80541559372)
484484

485485
if (nlohmann_json_ADDED)
486486
add_library(nlohmann_json INTERFACE IMPORTED)
@@ -490,7 +490,7 @@ endif()
490490
CPMAddPackage(
491491
NAME minizip
492492
GITHUB_REPOSITORY zlib-ng/minizip-ng
493-
GIT_TAG 4.0.4
493+
GIT_TAG 4.0.10
494494
OPTIONS "MZ_FETCH_LIBS OFF"
495495
"MZ_BZIP2 OFF"
496496
"MZ_LZMA OFF"
@@ -509,7 +509,7 @@ if (MSVC)
509509
CPMAddPackage(
510510
NAME mimalloc
511511
GITHUB_REPOSITORY microsoft/mimalloc
512-
VERSION 2.1.7
512+
VERSION 2.2.4
513513
OPTIONS "MI_OVERRIDE ON"
514514
"MI_BUILD_TESTS OFF"
515515
"MI_BUILD_OBJECT OFF"
@@ -540,6 +540,7 @@ target_include_directories(je2be PUBLIC
540540
target_include_directories(je2be PRIVATE ./src ${libdeflate_SOURCE_DIR} ${libminecraft-file_SOURCE_DIR}/include ${defer_SOURCE_DIR}/include)
541541
target_link_libraries(je2be INTERFACE ${je2be_link_libraries})
542542
target_link_directories(je2be INTERFACE ${je2be_link_directories})
543+
target_compile_definitions(je2be PUBLIC -DXXH_NAMESPACE=LZ4_)
543544

544545
add_executable(j2b example/j2b.cpp ${je2be_header_files})
545546
target_link_libraries(j2b ${je2be_exe_link_libraries} cxxopts)

0 commit comments

Comments
 (0)