Skip to content

Commit

Permalink
[enhancement] switch to C++17 and set CMAKE_(CXX|CUDA)_STANDARD to 17 (
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli authored Jul 13, 2023
1 parent 687ccaa commit b365e4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ if(CREATE_FORTRAN_BINDINGS)
enable_language(Fortran)
endif()

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CUDA_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CUDA_STANDARD 17)

if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
set(CMAKE_CUDA_ARCHITECTURES "60;70;80" CACHE STRING "CUDA architectures to generate code for")
Expand Down

0 comments on commit b365e4e

Please sign in to comment.