Skip to content

Commit

Permalink
[DOR-670] Simplify download_and_extract() call
Browse files Browse the repository at this point in the history
It already does that check internally.
  • Loading branch information
blawrence-ont committed Apr 22, 2024
1 parent 3daead4 commit 12509cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/HDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ if((CMAKE_SYSTEM_NAME STREQUAL "Linux") AND (CMAKE_SYSTEM_PROCESSOR STREQUAL "aa
# download the pacakge for arm, we want to package this due to hdf5's dependencies
set(DYNAMIC_HDF ON)
set(HDF_VER hdf5-1.10.0-aarch64)
if(EXISTS ${DORADO_3RD_PARTY_DOWNLOAD}/${HDF_VER})
message(STATUS "Found ${HDF_VER}")
else()
download_and_extract(https://cdn.oxfordnanoportal.com/software/analysis/${HDF_VER}.zip ${HDF_VER})
endif()
download_and_extract(https://cdn.oxfordnanoportal.com/software/analysis/${HDF_VER}.zip ${HDF_VER})
list(PREPEND CMAKE_PREFIX_PATH ${DORADO_3RD_PARTY_DOWNLOAD}/${HDF_VER}/${HDF_VER})

elseif(WIN32)
Expand Down

0 comments on commit 12509cf

Please sign in to comment.