Skip to content
Snippets Groups Projects
Commit f749c1f5 authored by Martin Bauer's avatar Martin Bauer
Browse files

Switched C++ standard to from 11 to 14 in CUDA nvcc arguments

parent 6864d1c6
Branches
Tags
No related merge requests found
...@@ -1096,7 +1096,7 @@ if ( WALBERLA_BUILD_WITH_CUDA ) ...@@ -1096,7 +1096,7 @@ if ( WALBERLA_BUILD_WITH_CUDA )
endforeach() endforeach()
if ( NOT "${CUDA_NVCC_FLAGS}" MATCHES "-std=" AND NOT WALBERLA_CXX_COMPILER_IS_MSVC ) if ( NOT "${CUDA_NVCC_FLAGS}" MATCHES "-std=" AND NOT WALBERLA_CXX_COMPILER_IS_MSVC )
list ( APPEND CUDA_NVCC_FLAGS "-std=c++11" ) list ( APPEND CUDA_NVCC_FLAGS "-std=c++14" )
endif () endif ()
# Bug with gcc5 and cuda7.5: # Bug with gcc5 and cuda7.5:
......
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