onnxruntime
0a6b2201 - Move TRT include_directories to outside scope (#14622)

Commit
3 years ago
Move TRT include_directories to outside scope (#14622) Signed-off-by: Kevin Chen <kevinch@nvidia.com> ### 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 <kevinch@nvidia.com>
Author
Parents
Loading