Commit c725af13 authored by haoshuang's avatar haoshuang

update CMakeLists.txt for byd hardware and software env

parent 8d31377c
......@@ -38,7 +38,7 @@ file(GLOB_RECURSE COMMON_SRC_LIST
#add_subdirectory(yolov5)
#add_subdirectory(track)
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)
add_compile_options(-std=c++14)
find_package(OpenCV REQUIRED)
find_package(yaml-cpp REQUIRED)
......@@ -151,7 +151,7 @@ option(CUDA_USE_STATIC_CUDA_RUNTIME OFF)
find_package(CUDA REQUIRED)
include_directories(/usr/local/cuda/include)
link_directories(/usr/local/cuda/lib64)
set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++11;-g;-G;-gencode;arch=compute_75;code=sm_75)
set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++14;-g;-G;-gencode;arch=compute_75;code=sm_75)
include_directories(${PROJECT_SOURCE_DIR}/src/BaseTracker/kf_gpu)
cuda_add_library(kf_cuda SHARED
src/BaseTracker/kf_gpu/bev_overlap_online.cu
......@@ -162,7 +162,7 @@ endif()
include_directories(
/usr/include/pcl-1.8
/usr/include/pcl-1.10
/usr/local/include
src
src/tracker
......
src @ c3adc831
Subproject commit e2395e5ec9dcfea8b05c384de89d6c60093e1e30
Subproject commit c3adc83161b8a39f66d165ab718b032cd423a6ac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment