forked from lijiext/lammps
refactor FFT handling in CMake module for KSPACE.
This also improves the FFT info output in the PPPM styles # Conflicts: # cmake/Modules/Packages/KSPACE.cmake
This commit is contained in:
parent
9a43a6824c
commit
8b134cb0c9
|
@ -11,7 +11,7 @@ if(PKG_KSPACE)
|
||||||
else()
|
else()
|
||||||
set(FFT "KISS" CACHE STRING "FFT library for KSPACE package")
|
set(FFT "KISS" CACHE STRING "FFT library for KSPACE package")
|
||||||
endif()
|
endif()
|
||||||
set(FFT_VALUES KISS FFTW3 MKL CUFFT)
|
set(FFT_VALUES KISS FFTW3 MKL)
|
||||||
set_property(CACHE FFT PROPERTY STRINGS ${FFT_VALUES})
|
set_property(CACHE FFT PROPERTY STRINGS ${FFT_VALUES})
|
||||||
validate_option(FFT FFT_VALUES)
|
validate_option(FFT FFT_VALUES)
|
||||||
string(TOUPPER ${FFT} FFT)
|
string(TOUPPER ${FFT} FFT)
|
||||||
|
|
Loading…
Reference in New Issue