From d5827d345a2c3d743754b889d465f2a546dc705a Mon Sep 17 00:00:00 2001 From: Scheaven <xuepengqiang> Date: 星期四, 22 七月 2021 19:06:45 +0800 Subject: [PATCH] bug --- CMakeLists.txt | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 455e6a8..c40021c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,6 @@ set(LOG_DIR /opt/toolkits/log4cplus) include_directories(${OPENCV_DIR}/include/opencv4) -#link_directories(/usr/local/lib) link_directories(${OPENCV_DIR}/lib) include_directories(${CUDA_Path}/include) link_directories(${CUDA_Path}/lib64) @@ -32,7 +31,7 @@ # - +find_package(CUDA REQUIRED) if(CUDA_VERSION_MAJOR GREATER 9) message("-- CUDA ${CUDA_VERSION_MAJOR} detected") set( -- Gitblit v1.8.0