mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix hipErrorNoBinaryForGpu when hip_FOUND
This commit is contained in:
parent
b2fea287bc
commit
ca210612e1
@ -684,6 +684,10 @@ if(USE_BDA_BRIDGE)
|
||||
if(VexCL_FOUND)
|
||||
target_link_libraries( opmsimulators PUBLIC OPM::VexCL::OpenCL )
|
||||
endif()
|
||||
|
||||
if(hip_FOUND)
|
||||
target_link_libraries( opmsimulators PUBLIC hip::device )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(Damaris_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user