Skip to content

Commit

Permalink
Fix unpack folder of 3mf zip
Browse files Browse the repository at this point in the history
  • Loading branch information
lvk88 committed Sep 6, 2024
1 parent 56951e0 commit a39fbda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/external/lib3mf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LIB3MF)
if(NOT EXISTS ${LIB3MF_CHECK})
set(LIB3MF_LINK https://github.com/3MFConsortium/lib3mf/releases/download/v2.3.2/lib3mf-2.3.2-source-with-submodules.zip)
set(LIB3MF_MD5 bb6a4f480c50669ff193d5e418d7500f)
# WARNING: lib3mf-2.3.2-source-with-submodules.zip does not extract into a subfolder
# See https://github.com/3MFConsortium/lib3mf/issues/391
download_and_unzip(
NAME "Lib3MF"
MD5 ${LIB3MF_MD5}
LINK ${LIB3MF_LINK}
DIR ${MESHLAB_EXTERNAL_DOWNLOAD_DIR})
DIR ${LIB3MF_DIR})
if(NOT download_and_unzip_SUCCESS)
message(STATUS "- Lib3MF - download failed")
endif()
Expand Down

0 comments on commit a39fbda

Please sign in to comment.