Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move TRT include_directories to outside scope (microsoft#14622)
Signed-off-by: Kevin Chen <[email protected]> ### Description Previously `include_directories(${TENSORRT_INCLUDE_DIR})` was only done if `onnxruntime_USE_TENSORRT_BUILTIN_PARSER` was false. This would cause a build failure when the switch was true as the include directory was not added. ### Motivation and Context Fixes TRT build when `onnxruntime_USE_TENSORRT_BUILTIN_PARSER` is true. --------- Signed-off-by: Kevin Chen <[email protected]>
- Loading branch information