Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
229cedec
Commit
229cedec
authored
Mar 05, 2020
by
Brad King
Browse files
bindings: Make ADIOS2_HAVE_MPI_F definition private to Fortran sources
parent
7253ccb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/Fortran/CMakeLists.txt
View file @
229cedec
...
...
@@ -51,13 +51,13 @@ target_link_libraries(adios2_f PRIVATE adios2)
if
(
ADIOS2_HAVE_MPI
)
target_compile_definitions
(
adios2_f PRIVATE
"$<$<COMPILE_LANGUAGE:Fortran>:ADIOS2_HAVE_MPI_F>"
)
target_sources
(
adios2_f PRIVATE
modules/adios2_adios_init_mod_mpi.f90
modules/adios2_io_open_mod_mpi.f90
f2c/adios2_f2c_adios_mpi.cpp
f2c/adios2_f2c_io_mpi.cpp
)
target_compile_definitions
(
adios2_f PUBLIC ADIOS2_HAVE_MPI_F
)
target_link_libraries
(
adios2_f PRIVATE MPI::MPI_Fortran MPI::MPI_C
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment