Skip to content

Commit

Permalink
add PUBLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Jul 17, 2023
1 parent 7535407 commit 7849126
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/nvector/manyvector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ if(BUILD_NVECTOR_MPIMANYVECTOR)
${SUNDIALS_SOURCE_DIR}/include/nvector/nvector_mpimanyvector.h
INCLUDE_SUBDIR
nvector
LINK_LIBRARIES MPI::MPI_C
LINK_LIBRARIES
PUBLIC MPI::MPI_C
OBJECT_LIBRARIES
sundials_generic_obj
COMPILE_DEFINITIONS
Expand Down
3 changes: 2 additions & 1 deletion src/nvector/mpiplusx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ sundials_add_library(sundials_nvecmpiplusx
${SUNDIALS_SOURCE_DIR}/include/nvector/nvector_mpiplusx.h
INCLUDE_SUBDIR
nvector
LINK_LIBRARIES MPI::MPI_C
LINK_LIBRARIES
PUBLIC MPI::MPI_C
OBJECT_LIBRARIES
sundials_generic_obj
sundials_nvecmpimanyvector_obj
Expand Down
3 changes: 2 additions & 1 deletion src/nvector/parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ sundials_add_library(sundials_nvecparallel
${SUNDIALS_SOURCE_DIR}/include/nvector/nvector_parallel.h
INCLUDE_SUBDIR
nvector
LINK_LIBRARIES MPI::MPI_C
LINK_LIBRARIES
PUBLIC MPI::MPI_C
OBJECT_LIBRARIES
sundials_generic_obj
OUTPUT_NAME
Expand Down

0 comments on commit 7849126

Please sign in to comment.