Fix hipErrorNoBinaryForGpu when hip_FOUND

This commit is contained in:
Razvan Nane
2023-06-30 14:40:45 +02:00
committed by Razvan Nane
parent b2fea287bc
commit ca210612e1

View File

@@ -684,6 +684,10 @@ if(USE_BDA_BRIDGE)
if(VexCL_FOUND) if(VexCL_FOUND)
target_link_libraries( opmsimulators PUBLIC OPM::VexCL::OpenCL ) target_link_libraries( opmsimulators PUBLIC OPM::VexCL::OpenCL )
endif() endif()
if(hip_FOUND)
target_link_libraries( opmsimulators PUBLIC hip::device )
endif()
endif() endif()
if(Damaris_FOUND) if(Damaris_FOUND)