Skip to content
Snippets Groups Projects
Commit cd2a0d20 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'thoennes/add-cuda-warning' into 'master'

add cuda host compiler warning

See merge request walberla/walberla!528
parents 5e29f153 db49ca03
Branches
Tags
No related merge requests found
...@@ -1091,6 +1091,7 @@ if ( WALBERLA_BUILD_WITH_CUDA ) ...@@ -1091,6 +1091,7 @@ if ( WALBERLA_BUILD_WITH_CUDA )
#CUDA_FOUND is need for our cmake mechanism #CUDA_FOUND is need for our cmake mechanism
set ( CUDA_FOUND TRUE ) set ( CUDA_FOUND TRUE )
else() else()
message( WARNING "CUDA could not be enabled. The host compiler might not be compatible. Check CMakeFiles/CMakeError.log for more information" )
set ( WALBERLA_BUILD_WITH_CUDA FALSE ) set ( WALBERLA_BUILD_WITH_CUDA FALSE )
endif ( ) endif ( )
endif ( ) endif ( )
......
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