We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367254b commit 7a28a0fCopy full SHA for 7a28a0f
cmake/modules/FindExtPackages.cmake
@@ -24,7 +24,7 @@ set(CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY ON CACHE BOOL
24
###############################################################################
25
### Packages and versions ###
26
27
-find_package(json 3.7.3 REQUIRED)
+find_package(json 3.10.1 REQUIRED)
28
29
if(CASBIN_BUILD_TEST)
30
# googletest
cmake/modules/Findjson.cmake
@@ -16,9 +16,10 @@ include(FetchContent)
16
17
FetchContent_Declare(json
18
GIT_REPOSITORY https://github.com/nlohmann/json.git
19
- GIT_TAG v3.7.3)
+ GIT_TAG v3.10.1)
20
21
set(JSON_BuildTests OFF CACHE INTERNAL "")
22
+set(JSON_Install ON)
23
FetchContent_GetProperties(json)
FetchContent_MakeAvailable(json)
0 commit comments