add_library(libgromacs ${LIBGROMACS_SOURCES})
endif()
-if (GMX_SYCL_HIPSYCL)
+if (TARGET Heffte::Heffte)
+ target_link_libraries(libgromacs PRIVATE Heffte::Heffte)
+endif()
+
+if (GMX_SYCL_HIPSYCL AND GMX_HIPSYCL_HAVE_HIP_TARGET)
target_link_libraries(libgromacs PUBLIC roc::rocfft)
endif()
add_subdirectory(fileio)
add_subdirectory(selection)
-# Suppress a warning about our abuse of t_inputrec
-gmx_source_file_warning_suppression(mdtypes/inputrec.cpp -Wno-class-memaccess HAS_NO_CLASS_MEMACCESS)
-
# Handle the object libraries that contain the source file
# dependencies that need special handling because they are generated
# or external code.