diff --git a/external/external_build.cmake b/external/external_build.cmake index 5032b35..a38fc1d 100644 --- a/external/external_build.cmake +++ b/external/external_build.cmake @@ -128,6 +128,7 @@ else (INTERNAL_HDF5) endif() endforeach() cmessage(STATUS "HDF5 libpath: ${HDF5_BIN_DIR}") + SET(HDF5_INCLUDE_DIR ${HDF5_INCLUDE_DIRS}) else() cmessage(STATUS "Found HDF5 cmake config.") cmessage(STATUS "HDF5_C_STATIC_LIBRARY : ${HDF5_C_STATIC_LIBRARY}")