Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Sep 21, 2023
1 parent e379b4c commit 8e65e70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ project(mrover VERSION 2024.0.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CUDA_STANDARD 17)
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_link_options(-fuse-ld=lld-16)
endif ()
Expand Down Expand Up @@ -222,9 +220,9 @@ else ()
find_package(Eigen3 REQUIRED)
find_package(ZED 2 QUIET)
if (ZED_FOUND)
set(CMAKE_CUDA_SEPARABLE_COMPILATION ON)
set(CMAKE_CUDA_STANDARD 17)
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
set(CMAKE_CUDA_SEPARABLE_COMPILATION ON)
# Jetson Xavier NX is Volta 7.2 architecture
# Perception Laptop (A4000, Quadro version of RTX 3080) is Ampere 8.6 architecture
set(CMAKE_CUDA_ARCHITECTURES 72 86)
Expand Down

0 comments on commit 8e65e70

Please sign in to comment.