Skip to content

Commit edd4b34

Browse files
committed
Update CMakeLists.txt
1 parent 832a7f4 commit edd4b34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin_execution_providers/tensorrt/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
cmake_minimum_required(VERSION 3.26)
66
project(TensorRTEp VERSION 1.0)
77
set(CMAKE_CXX_STANDARD 17)
8-
enable_language(CUDA)
9-
file(TO_CMAKE_PATH CUDAToolkit_ROOT "/usr/local/cuda")
8+
9+
enable_language(CUDA) # via nvcc to get the CUDA tool kit
10+
file(TO_CMAKE_PATH "/usr/local/cuda" CUDAToolkit_ROOT)
1011
find_package(CUDAToolkit REQUIRED)
1112

1213
# CMake config to force dynamic debug CRT or dynamic release CRT globally for all dependencies.

0 commit comments

Comments
 (0)