Skip to content

Commit 5259d8c

Browse files
committed
Update json commit
1 parent 9efe90c commit 5259d8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cpp/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ find_package(OpenVINO REQUIRED
3737
COMPONENTS Runtime Threading)
3838

3939
include(FetchContent)
40-
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
40+
FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git
41+
GIT_TAG d41ca94fa85d5119852e2f7a3f94335cc7cb0486 # PR #4709, fixes cmake deprecation warnings
42+
)
4143
FetchContent_MakeAvailable(json)
4244

4345
file(GLOB MODELS_SOURCES ./models/src/*.cpp)

0 commit comments

Comments
 (0)