We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c247996 commit 89f202dCopy full SHA for 89f202d
1 file changed
third-party/CMakeLists.txt
@@ -5,7 +5,9 @@
5
# LICENSE file in the root directory of this source tree.
6
7
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
8
-add_subdirectory(json)
+if(NOT TARGET nlohmann_json)
9
+ add_subdirectory(json)
10
+endif()
11
add_subdirectory(gflags)
12
13
if(EXECUTORCH_BUILD_PYBIND)
0 commit comments