biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix hipSYCL build with CUDA target
[alexxy/gromacs.git]
/
src
/
gromacs
/
CMakeLists.txt
diff --git
a/src/gromacs/CMakeLists.txt
b/src/gromacs/CMakeLists.txt
index e3876a38e6a8417fde94bfdc746c2a0c455305df..bf530db08138c8ef39e526f80dcdf25c4fdd4959 100644
(file)
--- a/
src/gromacs/CMakeLists.txt
+++ b/
src/gromacs/CMakeLists.txt
@@
-190,7
+190,7
@@
if (TARGET Heffte::Heffte)
target_link_libraries(libgromacs PRIVATE Heffte::Heffte)
endif()
-if (GMX_SYCL_HIPSYCL)
+if (GMX_SYCL_HIPSYCL
AND GMX_HIPSYCL_HAVE_HIP_TARGET
)
target_link_libraries(libgromacs PUBLIC roc::rocfft)
endif()