project(yolov5)
set(OpenCV_DIR "D:\\yolov5_tensorrt\\yolov5_tensorrt\\opencv\\build") #2
set(OpenCV_INCLUDE_DIRS ${OpenCV_DIR}/include) #3
set(OpenCV_LIB_DIRS ${OpenCV_DIR}/x64/vc15/lib) #4
set(OpenCV_Debug_LIBS "opencv_world343d.lib") #5
set(OpenCV_Release_LIBS "opencv_world343.lib") #6
set(TRT_DIR "D:\\yolov5_tensorrt\\yolov5_tensorrt\\TensorRT-7.0.0.11.Windows10.x86_64.cuda-10.2.cudnn7.6\\TensorRT-7.0.0.11") #3
set(TRT_INCLUDE_DIRS ${TRT_DIR}/include) #8
set(TRT_LIB_DIRS ${TRT_DIR}/lib) #9
#
1