KSPACE.cmake: use MKL imported target
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user