diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index d6f5c98fb..2c8950bbf 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -33,6 +33,7 @@ function(download_and_extract_library NAME EXT URL TYPE) endfunction() if(NNABLA_UTILS_WITH_HDF5) + set(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OFF) download_and_extract_library(hdf5-master .zip https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_2.zip DIRECTORY) set(HDF5_EXTERNALLY_CONFIGURED, 1) set(HDF5_EXPORTED_TARGETS "nbla_utils-hdf5-targets")