Skip to content

Commit 89f202d

Browse files
committed
up
1 parent c247996 commit 89f202d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

third-party/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
# LICENSE file in the root directory of this source tree.
66

77
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
8-
add_subdirectory(json)
8+
if(NOT TARGET nlohmann_json)
9+
add_subdirectory(json)
10+
endif()
911
add_subdirectory(gflags)
1012

1113
if(EXECUTORCH_BUILD_PYBIND)

0 commit comments

Comments
 (0)