Previously the macro could get defined not only when the build was not a
hipSYCL build, but also when the build was not a SYCL build at all.
#cmakedefine01 GMX_SYCL_HIPSYCL
/* Define if Intel's DPCPP is used (default unless hipSYCL is chosen) */
-#define GMX_SYCL_DPCPP (!GMX_SYCL_HIPSYCL)
+#define GMX_SYCL_DPCPP (!GMX_SYCL_HIPSYCL && GMX_GPU_SYCL)
/* Use a single compilation unit when compiling the CUDA (non-bonded) kernels. */
#cmakedefine01 GMX_CUDA_NB_SINGLE_COMPILATION_UNIT