mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:40:31 +08:00
Bug 5300528: Add MPI_C_LIBRARIES for user defined MPI path
This commit is contained in:
parent
0c78a3e0de
commit
40d297dfe7
@ -37,6 +37,7 @@ target_compile_features(simpleMPI PRIVATE cxx_std_17 cuda_std_17)
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(simpleMPI PUBLIC
|
target_link_libraries(simpleMPI PUBLIC
|
||||||
|
${MPI_C_LIBRARIES}
|
||||||
${MPI_CXX_LIBRARIES}
|
${MPI_CXX_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user