ExCALIBUR-NEPTUNE / NESO

MIT License
4 stars 4 forks source link

Update FindFFT.cmake to Fix alias to alias issue #250

Closed seimtpow closed 3 months ago

seimtpow commented 4 months ago

Fixing issue with CMake not allowing an alias to an alias In newer (version 2024?) MKLs the MKL::MKL_DPCPP target is an alias for MKL::MKL_SYCL so the current FindFFT module won't work.

will-saunders-ukaea commented 3 months ago

This solves the fft alias problem I was seeing but I then hit other intel 2024.1.0 build issues which I think are separate to this PR. AdaptiveCPP builds work fine.

If someone with an older intel toolchain setup could also test this PR that would be appreciated.

oparry-ukaea commented 3 months ago

Builds with intel 2022.1.0 for me and passes the unit tests.