1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-25 13:45:23 +02:00

JsonCPP: restore '1.0.0+' compatibility (#15368)

Previously, compiling on Ubuntu 20.04 would fail with the system-provided JsonCPP
version (1.7.4). Which would satisfy the documented requirement of "1.0.0+".
This commit is contained in:
SmallJoker
2024-11-03 15:10:39 +01:00
committed by GitHub
parent 3064f3ccb7
commit c884e7181f
3 changed files with 10 additions and 11 deletions

View File

@@ -277,7 +277,7 @@ endif()
# Library pack
find_package(GMP REQUIRED)
find_package(Json REQUIRED)
find_package(Json 1.0.0 REQUIRED)
find_package(Lua REQUIRED)
if(NOT USE_LUAJIT)
add_subdirectory(lib/bitop)