Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xdmf
Xdmf
Commits
354c9ad4
Commit
354c9ad4
authored
Jan 29, 2014
by
Andrew J. Burns (Cont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted Method by Which MPI4PY was included, separating from python proper.
parent
1d618f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt
CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
354c9ad4
...
...
@@ -51,6 +51,10 @@ option(XDMF_BUILD_DSM OFF)
if
(
XDMF_BUILD_DSM
)
option
(
XDMF_BUILD_DSM_THREADS ON
)
if
(
XDMF_WRAP_PYTHON
)
mark_as_advanced
(
FORCE PYTHON_INCLUDE_MPI4PY_DIR
)
set
(
PYTHON_INCLUDE_MPI4PY_DIR
""
CACHE STRING
"Directory containing mpi4py/mpi4py.i"
)
endif
(
XDMF_WRAP_PYTHON
)
endif
(
XDMF_BUILD_DSM
)
# If we are wrapping either, we need swig
...
...
@@ -67,7 +71,7 @@ if(XDMF_WRAP_PYTHON)
find_package
(
PythonInterp REQUIRED
)
find_package
(
PythonLibs REQUIRED
)
if
(
XDMF_BUILD_DSM
)
include_directories
(
${
PYTHON_INCLUDE_DIRS
}
${
MPI_CXX_INCLUDE_PATH
}
)
include_directories
(
${
PYTHON_INCLUDE_DIRS
}
${
MPI_CXX_INCLUDE_PATH
}
${
PYTHON_INCLUDE_MPI4PY_DIR
}
)
else
(
XDMF_BUILD_DSM
)
include_directories
(
${
PYTHON_INCLUDE_DIRS
}
)
endif
(
XDMF_BUILD_DSM
)
...
...
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