Search for VexCL and create an imported target.

Unfortunately, we cannot us the imported targets. They add some compile
parameters using generator expressions based on the CXX_COMPILER_ID.
While we are using the system CXX compiler for most of the stuff, some
cuda code is compiled with nvcc which at least for some versions does
not support -Wno-catch-value (which gets passed as normal compiler
option).
This commit is contained in:
Markus Blatt
2021-06-30 16:03:14 +02:00
committed by Tong Dong Qiu
parent d45f9d08f7
commit adc2bf46b9
3 changed files with 26 additions and 0 deletions

View File

@@ -43,6 +43,9 @@
#include <amgcl/relaxation/cusparse_ilu0.hpp>
#endif
#if HAVE_VEXCL
#include <amgcl/backend/vexcl.hpp>
#endif
namespace bda
{