forked from lijiext/lammps
KSPACE.cmake: use MKL imported target
This commit is contained in:
parent
e8317b2f6b
commit
5411ae698f
|
@ -41,8 +41,7 @@ if(PKG_KSPACE)
|
|||
if(FFT_MKL_THREADS)
|
||||
target_compile_definitions(lammps PRIVATE -DFFT_MKL_THREADS)
|
||||
endif()
|
||||
target_include_directories(lammps PRIVATE ${MKL_INCLUDE_DIRS})
|
||||
target_link_libraries(lammps PRIVATE ${MKL_LIBRARIES})
|
||||
target_link_libraries(lammps PRIVATE MKL::MKL)
|
||||
else()
|
||||
# last option is KISSFFT
|
||||
target_compile_definitions(lammps PRIVATE -DFFT_KISS)
|
||||
|
|
Loading…
Reference in New Issue