Finufft enables sanitizes by default for DEBUG builds, which is causing build errors with GCC on linux systems. CPM isn't passing Finufft options through to the Finufft build; specifically, setting FINUFFT_ENABLE_SANITIZERS OFF does not seem to work.
Transferring Finufft to a submodule and managing its CMake build directly could fix this problem. For now, we just disable DFS for DEBUG builds.
Finufft enables sanitizes by default for DEBUG builds, which is causing build errors with GCC on linux systems. CPM isn't passing Finufft options through to the Finufft build; specifically, setting
FINUFFT_ENABLE_SANITIZERS OFF
does not seem to work.Transferring Finufft to a submodule and managing its CMake build directly could fix this problem. For now, we just disable DFS for DEBUG builds.