diff --git a/src/nvector/manyvector/CMakeLists.txt b/src/nvector/manyvector/CMakeLists.txt index 60c4e81e0c..7e4a3df739 100644 --- a/src/nvector/manyvector/CMakeLists.txt +++ b/src/nvector/manyvector/CMakeLists.txt @@ -60,7 +60,7 @@ if(BUILD_NVECTOR_MPIMANYVECTOR) INCLUDE_SUBDIR nvector LINK_LIBRARIES - PUBLIC MPI::MPI_C + $, PUBLIC MPI::MPI_C, > OBJECT_LIBRARIES sundials_generic_obj COMPILE_DEFINITIONS diff --git a/src/nvector/mpiplusx/CMakeLists.txt b/src/nvector/mpiplusx/CMakeLists.txt index cf8c47a923..8b39a9be2f 100644 --- a/src/nvector/mpiplusx/CMakeLists.txt +++ b/src/nvector/mpiplusx/CMakeLists.txt @@ -33,7 +33,7 @@ sundials_add_library(sundials_nvecmpiplusx INCLUDE_SUBDIR nvector LINK_LIBRARIES - PUBLIC MPI::MPI_C + $, PUBLIC MPI::MPI_C, > OBJECT_LIBRARIES sundials_generic_obj sundials_nvecmpimanyvector_obj diff --git a/src/nvector/parallel/CMakeLists.txt b/src/nvector/parallel/CMakeLists.txt index d13a32ae18..6940b7c48c 100644 --- a/src/nvector/parallel/CMakeLists.txt +++ b/src/nvector/parallel/CMakeLists.txt @@ -33,7 +33,7 @@ sundials_add_library(sundials_nvecparallel INCLUDE_SUBDIR nvector LINK_LIBRARIES - PUBLIC MPI::MPI_C + $, PUBLIC MPI::MPI_C, > OBJECT_LIBRARIES sundials_generic_obj OUTPUT_NAME