Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xdmf
Xdmf
Commits
0f90839b
Commit
0f90839b
authored
Jul 29, 2011
by
Brian Panneton
Browse files
Fixed some CMake issues with linking hdf5 and h5fddsm
parent
aadf2a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/CMakeLists.txt
View file @
0f90839b
...
...
@@ -39,7 +39,7 @@ if(HDF5_FOUND)
PATH
)
set
(
XDMF_LIBRARY_DIRS
${
XDMF_LIBRARY_DIRS
}
${
HDF5_LIBRARY_DIR
}
)
set
(
HDF5_LIBRARIES
hdf5
)
set
(
HDF5_LIBRARIES
${
HDF5_hdf5_LIBRARY_RELEASE
}
)
option
(
HDF5_IS_PARALLEL
"Whether or not HDF5 has parallel IO support."
OFF
)
if
(
HDF5_IS_PARALLEL
)
find_package
(
MPI REQUIRED
)
...
...
@@ -55,7 +55,8 @@ if(HDF5_FOUND)
include_directories
(
${
H5FD_DSM_INCLUDE_DIR
}
)
set
(
XDMF_LIBRARY_DIRS
${
XDMF_LIBRARY_DIRS
}
${
H5FD_DSM_INCLUDE_DIR
}
/../lib
)
set
(
H5FD_DSM_LIBRARIES H5FDdsm
)
get_property
(
h5fddsm_lib_location TARGET H5FDdsm PROPERTY LOCATION
)
set
(
H5FD_DSM_LIBRARIES h5fddsm_lib_location
)
else
(
H5FDdsm_FOUND
)
message
(
SEND_ERROR
"Cannot find HDF5 DSM! Please set H5FDdsm_DIR and configure again."
)
...
...
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