microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b7b8816dab43f095079c5c7609764c702e3c6e49

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/externals/json.cmake

11lines · modecode

1FetchContent_Declare(nlohmann_json
2 GIT_REPOSITORY https://github.com/nlohmann/json.git
3 GIT_TAG v3.10.5)
4
5set(JSON_BuildTests OFF CACHE INTERNAL "")
6
7FetchContent_GetProperties(nlohmann_json)
8if(NOT nlohmann_json_POPULATED)
9 FetchContent_Populate(nlohmann_json)
10 add_subdirectory(${nlohmann_json_SOURCE_DIR} ${nlohmann_json_BINARY_DIR} EXCLUDE_FROM_ALL)
11endif()
12