cmake: needs mpi
This commit is contained in:
@ -192,6 +192,7 @@ if(PKG_GPU)
|
||||
|
||||
get_property(GPU_SOURCES GLOBAL PROPERTY GPU_SOURCES)
|
||||
|
||||
target_link_libraries(gpu PRIVATE MPI::MPI_CXX)
|
||||
target_sources(lammps PRIVATE ${GPU_SOURCES})
|
||||
target_include_directories(lammps PRIVATE ${GPU_SOURCES_DIR})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user