We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd34cbb commit cee8be7Copy full SHA for cee8be7
1 file changed
source/source_cell/module_neighlist/test/CMakeLists.txt
@@ -45,8 +45,11 @@ if(ENABLE_MPI)
45
)
46
target_link_libraries(MODULE_CELL_NEIGHBOR_neighbor_search_mpi_benchmark
47
PRIVATE
48
- parameter base device Threads::Threads MPI::MPI_CXX abacus::external_deps ${math_libs}
+ parameter base device Threads::Threads MPI::MPI_CXX ${math_libs}
49
50
+ if(TARGET abacus::external_deps)
51
+ target_link_libraries(MODULE_CELL_NEIGHBOR_neighbor_search_mpi_benchmark PRIVATE abacus::external_deps)
52
+ endif()
53
if(USE_OPENMP)
54
target_link_libraries(MODULE_CELL_NEIGHBOR_neighbor_search_mpi_benchmark PRIVATE OpenMP::OpenMP_CXX)
55
endif()
0 commit comments