From ef496d36ea793d5ca7acce75b35cdf4e580c0bf0 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 15 Sep 2020 09:22:09 -0700 Subject: [PATCH] Build: Add missing EXCLUDE_FROM_ALL to ONNX submodule (#5161) Avoid building unnecessary things --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 41854313c2..452a50c84f 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -744,7 +744,7 @@ else() endif() if (NOT onnxruntime_MINIMAL_BUILD) - add_subdirectory(external/onnx) + add_subdirectory(external/onnx EXCLUDE_FROM_ALL) else() include(onnx_minimal) endif()