download external libraries mirror links

This commit is contained in:
alemuntoni 2022-11-04 17:00:42 +01:00
parent d46e466c9d
commit 026074d38a
15 changed files with 51 additions and 17 deletions

View File

@ -20,7 +20,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_CGAL)
set(CGAL_DOWNLOAD_SUCCESS TRUE)
if (NOT EXISTS ${CGAL_CHECK})
set(CGAL_LINK https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1.zip)
set(CGAL_LINK
https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1.zip
https://www.meshlab.net/data/libs/CGAL-5.2.1.zip)
set(CGAL_MD5 1a999ab90ea4cf28f6aa17ea2af24876)
download_and_unzip(
NAME "CGAL"
@ -34,7 +36,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_CGAL)
endif()
if (WIN32 AND NOT EXISTS ${CGAL_WIN_CHECK})
set(CGAL_AUX_LINK https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1-win64-auxiliary-libraries-gmp-mpfr.zip)
set(CGAL_AUX_LINK
https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1-win64-auxiliary-libraries-gmp-mpfr.zip
https://www.meshlab.net/data/libs/CGAL-5.2.1-win64-auxiliary-libraries-gmp-mpfr.zip)
set(CGAL_AUX_MD5 247f4dca741c6b9a9be76286414070fa)
download_and_unzip(
NAME "CGAL auxiliary libraries"

View File

@ -10,7 +10,9 @@ if (TARGET XercesC::XercesC)
set(LIBE57_CHECK "${LIBE57_DIR}/CMakeLists.txt")
if (NOT EXISTS ${LIBE57_CHECK})
set(LIBE57_LINK https://github.com/asmaloney/libE57Format/archive/refs/tags/v2.3.0.zip)
set(LIBE57_LINK
https://github.com/asmaloney/libE57Format/archive/refs/tags/v2.3.0.zip
https://www.meshlab.net/data/libs/libE57Format-2.3.0.zip)
set(LIBE57_MD5 958ada3883f9b60195f79bbab156f3e3)
download_and_unzip(
NAME "LibE57"

View File

@ -9,7 +9,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_EASYEXIF)
set(EASYEXIF_CHECK "${EASYEXIF_DIR}/exif.h")
if (NOT EXISTS ${EASYEXIF_CHECK})
set(EASYEXIF_LINK https://github.com/mayanklahiri/easyexif/archive/refs/tags/v1.0.zip)
set(EASYEXIF_LINK
https://github.com/mayanklahiri/easyexif/archive/refs/tags/v1.0.zip
https://www.meshlab.net/data/libs/easyexif-1.0.zip)
set(EASYEXIF_MD5 d46ec21b5c8ce13cda0fe66a4477a8c3)
download_and_unzip(
NAME "EasyExif"

View File

@ -28,7 +28,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_GLEW)
set(GLEW_CHECK "${GLEW_DIR}/src/glew.c")
if (NOT EXISTS ${GLEW_CHECK})
set(GLEW_LINK https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip)
set(GLEW_LINK
https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip
https://www.meshlab.net/data/libs/glew-2.2.0.zip)
set(GLEW_MD5 970535b75b1b69ebd018a0fa05af63d1)
download_and_unzip(
NAME "GLEW"

View File

@ -9,7 +9,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LEVMAR)
set(LEVMAR_CHECK "${LEVMAR_DIR}/lm.h")
if (NOT EXISTS ${LEVMAR_CHECK})
set(LEVMAR_LINK http://users.ics.forth.gr/~lourakis/levmar/levmar-2.6.tgz)
set(LEVMAR_LINK
http://users.ics.forth.gr/~lourakis/levmar/levmar-2.6.tgz
https://www.meshlab.net/data/libs/levmar-2.6.tgz)
set(LEVMAR_MD5 16bc34efa1617219f241eef06427f13f)
download_and_unzip(
NAME "Levmar"

View File

@ -17,7 +17,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LIB3DS)
set(LIB3DS_CHECK "${LIB3DS_DIR}/lib3ds/types.h")
if (NOT EXISTS ${LIB3DS_CHECK})
set(LIB3DS_LINK http://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lib3ds/lib3ds-1.3.0.zip)
set(LIB3DS_LINK
http://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lib3ds/lib3ds-1.3.0.zip
https://www.meshlab.net/data/libs/lib3ds-1.3.0.zip)
set(LIB3DS_MD5 2572f7b0f29b591d494c1a0658b35c86)
download_and_unzip(
NAME "Lib3DS"

View File

@ -9,7 +9,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LIBIGL)
set(LIBIGL_CHECK "${LIBIGL_DIR}/include/igl/igl_inline.h")
if (NOT EXISTS ${LIBIGL_CHECK})
set(LIBIGL_LINK https://github.com/libigl/libigl/archive/refs/tags/v2.4.0.zip)
set(LIBIGL_LINK
https://github.com/libigl/libigl/archive/refs/tags/v2.4.0.zip
https://www.meshlab.net/data/libs/libigl-2.4.0.zip)
set(LIBIGL_MD5 0b4fea5dba2117b8db85c99a39a71f83)
download_and_unzip(
NAME "LibIGL"

View File

@ -16,7 +16,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_MUPARSER)
set(MUPARSER_CHECK "${MUPARSER_DIR}/src/muParser.cpp")
if (NOT EXISTS ${MUPARSER_CHECK})
set(MUPARSER_LINK https://github.com/beltoforion/muparser/archive/refs/tags/v2.3.3-1.zip)
set(MUPARSER_LINK
https://github.com/beltoforion/muparser/archive/refs/tags/v2.3.3-1.zip
https://www.meshlab.net/data/libs/muparser-2.3.3-1.zip)
set(MUPARSER_MD5 8cf887ce460a405b8d8b966e0d5c94e3)
download_and_unzip(
NAME "muparser"

View File

@ -12,7 +12,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_NEXUS)
set(CORTO_CHECK "${CORTO_DIR}/CMakeLists.txt")
if (NOT EXISTS ${NEXUS_CHECK})
set(NEXUS_LINK https://github.com/cnr-isti-vclab/nexus/archive/refs/heads/master.zip)
set(NEXUS_LINK
https://github.com/cnr-isti-vclab/nexus/archive/refs/heads/master.zip
https://www.meshlab.net/data/libs/nexus-master.zip)
#set(NEXUS_MD5 3e50878dbaedd140f3e8c34d5af9a9d9)
download_and_unzip(
NAME "nexus"
@ -26,7 +28,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_NEXUS)
if (NOT EXISTS ${CORTO_CHECK})
file(REMOVE_RECURSE ${NEXUS_DIR}/src/corto)
set(CORTO_LINK https://github.com/cnr-isti-vclab/corto/archive/refs/heads/master.zip)
set(CORTO_LINK
https://github.com/cnr-isti-vclab/corto/archive/refs/heads/master.zip
https://www.meshlab.net/data/libs/corto-master.zip)
#set(CORTO_MD5 ede1b41e369a8117d8f2f46fba89e11d)
download_and_unzip(
NAME "corto"

View File

@ -16,7 +16,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_OPENCTM)
set(OPENCTM_CHECK "${OPENCTM_DIR}/lib/openctm.c")
if (NOT EXISTS ${OPENCTM_CHECK})
set(OPENCTM_LINK https://sourceforge.net/projects/openctm/files/OpenCTM-1.0.3/OpenCTM-1.0.3-src.zip/download)
set(OPENCTM_LINK
https://sourceforge.net/projects/openctm/files/OpenCTM-1.0.3/OpenCTM-1.0.3-src.zip/download
https://www.meshlab.net/data/libs/OpenCTM-1.0.3-src.zip)
set(OPENCTM_MD5 a87b6a6509ae0712b4a55f8887dc6a54)
download_and_unzip(
NAME "OpenCTM"

View File

@ -16,7 +16,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_QHULL)
set(QHULL_CHECK "${QHULL_DIR}/src/libqhull_r/libqhull_r.h")
if (NOT EXISTS ${QHULL_CHECK})
set(QHULL_LINK https://github.com/qhull/qhull/archive/refs/tags/2020.2.zip)
set(QHULL_LINK
https://github.com/qhull/qhull/archive/refs/tags/2020.2.zip
https://www.meshlab.net/data/libs/qhull-2020.2.zip)
set(QHULL_MD5 a0a9b0e69bdbd9461319b8d2ac3d2f2e)
download_and_unzip(
NAME "Qhull"

View File

@ -9,7 +9,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_STRUCTURE_SYNTH)
set(SSYNTH_CHECK "${SSYNTH_DIR}/StructureSynth/Model/Action.h")
if (NOT EXISTS ${SSYNTH_CHECK})
set(SSYNTH_LINK https://github.com/alemuntoni/StructureSynth/archive/refs/tags/1.5.1.zip)
set(SSYNTH_LINK
https://github.com/alemuntoni/StructureSynth/archive/refs/tags/1.5.1.zip
https://www.meshlab.net/data/libs/StructureSynth-1.5.1.zip)
set(SSYNTH_MD5 e2122c5e6e370fb36c885bccf59562b7)
download_and_unzip(
NAME "Structure Synth"

View File

@ -9,7 +9,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_TINYGLTF)
set(TINYGLTF_CHECK "${TINYGLTF_DIR}/tiny_gltf.h")
if (NOT EXISTS ${TINYGLTF_CHECK})
set(TINYGLTF_LINK https://github.com/syoyo/tinygltf/archive/refs/tags/v2.6.3.zip)
set(TINYGLTF_LINK
https://github.com/syoyo/tinygltf/archive/refs/tags/v2.6.3.zip
https://www.meshlab.net/data/libs/tinygltf-2.6.3.zip)
set(TINYGLTF_MD5 f63ab0fb59e5de059d9719cc14057dc8)
download_and_unzip(
NAME "tinygltf"

View File

@ -10,7 +10,9 @@ if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_U3D)
set(U3D_CHECK "${U3D_DIR}/CMakeLists.txt")
if (NOT EXISTS ${U3D_CHECK})
set(U3D_LINK https://github.com/alemuntoni/u3d/archive/refs/heads/master.zip)
set(U3D_LINK
https://github.com/alemuntoni/u3d/archive/refs/heads/master.zip
https://www.meshlab.net/data/libs/u3d-master.zip)
#set(U3D_MD5 3b15b2f75206ea24b8991333562aa9ca)
download_and_unzip(
NAME "u3d"

View File

@ -17,7 +17,9 @@ elseif(MESHLAB_ALLOW_DOWNLOAD_SOURCE_XERCES)
set(XERCES_C_CHECK "${XERCES_C_DIR}/CMakeLists.txt")
if(NOT EXISTS ${XERCES_C_CHECK})
set(XERCES_C_LINK https://dlcdn.apache.org//xerces/c/3/sources/xerces-c-${XERCES_C_VER}.zip)
set(XERCES_C_LINK
https://dlcdn.apache.org//xerces/c/3/sources/xerces-c-${XERCES_C_VER}.zip
https://www.meshlab.net/data/libs/xerces-c-${XERCES_C_VER}.zip)
set(XERCES_C_MD5 f84488fc2b8f62c4afca2f9943a42c00)
download_and_unzip(
NAME "Xerces-C"