Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
55fbc293
Commit
55fbc293
authored
Apr 05, 2010
by
Dave Partyka
Committed by
David Partyka
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: fix configure error if MPI_EXTRA_LIBRARY is not set.
parent
dcbc788d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Utilities/Cosmo/CMakeLists.txt
Utilities/Cosmo/CMakeLists.txt
+5
-1
No files found.
Utilities/Cosmo/CMakeLists.txt
View file @
55fbc293
...
...
@@ -5,7 +5,11 @@ project(Cosmo)
#SET(Cosmo_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
SET
(
Cosmo_LIBS
)
IF
(
VTK_USE_MPI
)
SET
(
Cosmo_LIBS
${
MPI_LIBRARY
}
${
MPI_EXTRA_LIBRARY
}
)
IF
(
MPI_EXTRA_LIBRARY
)
SET
(
Cosmo_LIBS
${
MPI_LIBRARY
}
${
MPI_EXTRA_LIBRARY
}
)
ELSE
(
MPI_EXTRA_LIBRARY
)
SET
(
Cosmo_LIBS
${
MPI_LIBRARY
}
)
ENDIF
(
MPI_EXTRA_LIBRARY
)
ELSE
(
VTK_USE_MPI
)
ADD_DEFINITIONS
(
"-DUSE_SERIAL_COSMO"
)
ENDIF
(
VTK_USE_MPI
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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