Skip to content

Commit

Permalink
MAINT: fix CMake script.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddkiva committed Dec 11, 2023
1 parent 6ce3fe4 commit ccf8ab3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/examples/Shakti/TensorRT/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if(NOT CMAKE_CUDA_COMPILER OR NOT TensorRT_FOUND)
return()
endif()

file(GLOB TRT_SOURCE_FILES FILES *.cpp)

foreach(file ${TRT_SOURCE_FILES})
Expand Down
4 changes: 4 additions & 0 deletions cpp/test/Shakti/Cuda/TensorRT/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if(NOT CMAKE_CUDA_COMPILER OR NOT TensorRT_FOUND)
return()
endif()

file(GLOB test_tensorrt_SOURCE_FILES FILES test_*tensorrt*.cpp)

foreach(file ${test_tensorrt_SOURCE_FILES})
Expand Down

0 comments on commit ccf8ab3

Please sign in to comment.