Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rhodanos
VTK
Commits
2f239599
Commit
2f239599
authored
8 years ago
by
Chuck Atkins
Browse files
Options
Downloads
Patches
Plain Diff
Xdmf2: Fix HDF5 include var used in parallel check
parent
18fdd54f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ThirdParty/xdmf2/vtkxdmf2/CMakeLists.txt
+2
-4
2 additions, 4 deletions
ThirdParty/xdmf2/vtkxdmf2/CMakeLists.txt
with
2 additions
and
4 deletions
ThirdParty/xdmf2/vtkxdmf2/CMakeLists.txt
+
2
−
4
View file @
2f239599
...
...
@@ -30,8 +30,6 @@ if (XDMF_BUILT_INVTK)
set
(
XDMF_HDF5_INCLUDE_DIRS
${
vtkhdf5_INCLUDE_DIRS
}
)
else
()
find_package
(
HDF5 REQUIRED
)
set
(
XDMF_HDF5_LIBRARIES
${
HDF5_LIBRARIES
}
)
set
(
XDMF_HDF5_INCLUDE_DIRS
${
HDF5_INCLUDE_DIRS
}
)
endif
()
...
...
@@ -44,7 +42,7 @@ endif()
# we need to do it manually ourselves
if
(
NOT HDF5_IS_PARALLEL
)
include
(
CheckSymbolExists
)
set
(
CMAKE_REQUIRED_INCLUDES
${
HDF5_INCLUDE_DIRS
}
)
set
(
CMAKE_REQUIRED_INCLUDES
${
XDMF_
HDF5_INCLUDE_DIRS
}
)
check_symbol_exists
(
H5_HAVE_PARALLEL hdf5.h HDF5_IS_PARALLEL
)
unset
(
CMAKE_REQUIRED_INCLUDES
)
endif
()
...
...
@@ -54,7 +52,7 @@ endif()
option
(
XDMF_BUILD_MPI
"XDMF should use MPI"
OFF
)
mark_as_advanced
(
XDMF_BUILD_MPI
)
if
(
HDF5_IS_PARALLEL AND NOT XDMF_BUILD_MPI
)
message
(
WARNING
"Xdmf2: Enabling MPI since a parallel HDF5 is being used."
)
message
(
STATUS
"Xdmf2: Enabling MPI since a parallel HDF5 is being used."
)
set
(
XDMF_BUILD_MPI ON
)
endif
()
if
(
XDMF_BUILD_MPI
)
...
...
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