mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
committed by
Tong Dong Qiu
parent
d45f9d08f7
commit
adc2bf46b9
@@ -43,6 +43,9 @@
|
||||
#include <amgcl/relaxation/cusparse_ilu0.hpp>
|
||||
#endif
|
||||
|
||||
#if HAVE_VEXCL
|
||||
#include <amgcl/backend/vexcl.hpp>
|
||||
#endif
|
||||
namespace bda
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user