This commit is contained in:
Axel Kohlmeyer
2024-02-23 16:05:30 -05:00
parent c36650fc88
commit 5de6853684

View File

@ -140,7 +140,7 @@ if(PKG_KSPACE)
target_compile_definitions(lammps PRIVATE -DFFT_KOKKOS_KISS)
elseif(FFT_KOKKOS STREQUAL "CUFFT")
find_library(CUFFT_LIBRARY cufft)
if (CUFFT_LIBRARY STREQUAL "CUTFFT_LIBRARY-NOTFOUND")
if (CUFFT_LIBRARY STREQUAL "CUFFT_LIBRARY-NOTFOUND")
message(FATAL_ERROR "Required cuFFT library not found. Check your environment or set CUFFT_LIBRARY to its location")
endif()
target_compile_definitions(lammps PRIVATE -DFFT_KOKKOS_CUFFT)