Skip to content

Commit

Permalink
Fixing #1294: HDF5 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heller committed Feb 26, 2015
1 parent 4b138bb commit 225a88a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/interpolate1d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
find_package(HDF5 COMPONENTS CXX)

if(HDF5_FOUND)
if(HDF5_CXX_LIBRARIES AND HDF5_IS_PARALLEL)
if(HDF5_CXX_LIBRARIES AND HDF5_IS_PARALLEL AND HD5F_hdf5_cpp_LIBRARY)

include_directories(${HDF5_INCLUDE_DIRS})

Expand Down
2 changes: 1 addition & 1 deletion examples/sheneos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
find_package(HDF5 COMPONENTS CXX)

if(HDF5_FOUND)
if(HDF5_CXX_LIBRARIES AND HDF5_IS_PARALLEL)
if(HDF5_CXX_LIBRARIES AND HDF5_IS_PARALLEL AND HD5F_hdf5_cpp_LIBRARY)

include_directories(${HDF5_INCLUDE_DIRS})

Expand Down

0 comments on commit 225a88a

Please sign in to comment.