Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e0b8d6e8
Commit
e0b8d6e8
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
better mpi for projects
parent
929a998c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
e0b8d6e8
...
...
@@ -474,7 +474,6 @@ if(ENABLE_MPI)
if
(
MPI_FOUND
)
message
(
"-- Found MPI"
)
set
(
HAVE_MPI TRUE
)
set
(
HAVE_MPI TRUE PARENT_SCOPE
)
# export it for projects, too
list
(
APPEND CONFIG_OPTIONS
"MPI"
)
list
(
APPEND EXTERNAL_INCLUDES
${
MPI_INCLUDE_DIR
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
MPI_LIBRARIES
}
)
...
...
@@ -809,7 +808,8 @@ include_directories(Common Fltk Geo Graphics Mesh Solver Numeric Parser
Plugin Post Qt
${
EXTERNAL_INCLUDES
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Common
)
# set this for external codes that might include this CMakeList file
set
(
GMSH_EXTERNAL_INCLUDE_DIRS
${
EXTERNAL_INCLUDES
}
PARENT_SCOPE
)
set
(
GMSH_EXTERNAL_INCLUDE_DIRS
${
EXTERNAL_INCLUDES
}
CACHE
STRING
"External include directories"
)
# group sources for easier navigation in IDEs
foreach
(
DIR
${
GMSH_DIRS
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment