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
......@@ -1091,6 +1091,7 @@ if ( WALBERLA_BUILD_WITH_CUDA )
#CUDA_FOUND is need for our cmake mechanism
set ( CUDA_FOUND TRUE )
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 )
endif ( )
endif ( )
......
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