Skip to content

Commit

Permalink
fix get_filename_component call (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Jun 16, 2017
1 parent 49e6238 commit 985369f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMake/thirdparty/SetupHDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ foreach(IDIR ${HDF5_INCLUDE_DIRS})
# relative paths to abs ones, so out of caution we check
# both.

get_filename_component(ABSOLUTE_PATH ${HDF5_DIR} HDF5_DIR_ABS)
get_filename_component(HDF5_DIR_ABS "${HDF5_DIR}" ABSOLUTE)

if("${IDIR}" MATCHES "${HDF5_DIR_ABS}")
message(STATUS " ${IDIR} includes HDF5_DIR (${HDF5_DIR_ABS})")
Expand Down

0 comments on commit 985369f

Please sign in to comment.