Cray wrappers don't populate MPI_<LANG>_INCLUDE_DIRECTORIES because they're implicit, and to avoid incompatibilities, it makes sense to delegate to the compiler. The problem is that this information is not propagated to the CUDA compiler. Found a simpler fix than the one suggested in https://github.com/ValeevGroup/tiledarray/issues/413: simply append the implicit CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES as source-level compilation features for the CUDA files.
Cray wrappers don't populate
MPI_<LANG>_INCLUDE_DIRECTORIES
because they're implicit, and to avoid incompatibilities, it makes sense to delegate to the compiler. The problem is that this information is not propagated to the CUDA compiler. Found a simpler fix than the one suggested in https://github.com/ValeevGroup/tiledarray/issues/413: simply append the implicitCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
as source-level compilation features for the CUDA files.Closes https://github.com/ValeevGroup/tiledarray/issues/413