Bug 5300528: Add MPI_C_LIBRARIES for user defined MPI path

This commit is contained in:
shawnz 2025-05-23 14:47:55 +08:00
parent 0c78a3e0de
commit 40d297dfe7

View File

@ -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}
) )