Build: Add missing EXCLUDE_FROM_ALL to ONNX submodule (#5161)

Avoid building unnecessary things
This commit is contained in:
Changming Sun 2020-09-15 09:22:09 -07:00 committed by GitHub
parent de6e3fb61d
commit ef496d36ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()