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
62da19da
Commit
62da19da
authored
Aug 02, 2019
by
Atkins, Charles Vernon
Browse files
Fix backwards compatibility logic for FindMPI
parent
e7d43daa
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/upstream/FindMPI.cmake
View file @
62da19da
...
...
@@ -1144,7 +1144,7 @@ macro(_MPI_create_imported_target LANG)
add_library
(
MPI::MPI_
${
LANG
}
INTERFACE IMPORTED
)
endif
()
if
(
NOT CMAKE_VERSION VERSION_LESS 3.1
1
)
if
(
NOT CMAKE_VERSION VERSION_LESS 3.1
2
)
# When this is consumed for compiling CUDA, use '-Xcompiler' to wrap '-pthread'.
string
(
REPLACE
"-pthread"
"$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler >-pthread"
_MPI_
${
LANG
}
_COMPILE_OPTIONS
"
${
MPI_
${
LANG
}
_COMPILE_OPTIONS
}
"
)
...
...
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