cmake: add minimum required json version

This commit is contained in:
Andrej730
2026-09-16 13:56:45 +05:00
parent 4c22bd794c
commit a5dec54719
2 changed files with 18 additions and 3 deletions
+3 -1
View File
@@ -298,7 +298,9 @@ if(BUILD_IFCGEOM)
endif()
if(GLTF_SUPPORT)
find_package(nlohmann_json REQUIRED)
# 3.6.1 is the version currently used on the Windows build.
# 3.10.5 is the version shipped with Ubuntu 22.04.
find_package(nlohmann_json 3.6.1 REQUIRED)
endif()
# Add USD support to serializers