diff --git a/src/external/cgal.cmake b/src/external/cgal.cmake index 3552a08ad..4317336c4 100644 --- a/src/external/cgal.cmake +++ b/src/external/cgal.cmake @@ -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" diff --git a/src/external/e57.cmake b/src/external/e57.cmake index 867b26a7b..6347caa08 100644 --- a/src/external/e57.cmake +++ b/src/external/e57.cmake @@ -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" diff --git a/src/external/easyexif.cmake b/src/external/easyexif.cmake index d6f19b9ca..575a281d3 100644 --- a/src/external/easyexif.cmake +++ b/src/external/easyexif.cmake @@ -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" diff --git a/src/external/glew.cmake b/src/external/glew.cmake index fff07871f..0d16e915f 100644 --- a/src/external/glew.cmake +++ b/src/external/glew.cmake @@ -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" diff --git a/src/external/levmar.cmake b/src/external/levmar.cmake index fb5de25db..e5fe88c82 100644 --- a/src/external/levmar.cmake +++ b/src/external/levmar.cmake @@ -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" diff --git a/src/external/lib3ds.cmake b/src/external/lib3ds.cmake index 8d15dd076..0dde58b17 100644 --- a/src/external/lib3ds.cmake +++ b/src/external/lib3ds.cmake @@ -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" diff --git a/src/external/libigl.cmake b/src/external/libigl.cmake index 6554993c7..352cc34c9 100644 --- a/src/external/libigl.cmake +++ b/src/external/libigl.cmake @@ -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" diff --git a/src/external/muparser.cmake b/src/external/muparser.cmake index ce33a7c0a..d14d25722 100644 --- a/src/external/muparser.cmake +++ b/src/external/muparser.cmake @@ -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" diff --git a/src/external/nexus.cmake b/src/external/nexus.cmake index 9b22cdfdb..117634acc 100644 --- a/src/external/nexus.cmake +++ b/src/external/nexus.cmake @@ -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" diff --git a/src/external/openctm.cmake b/src/external/openctm.cmake index b293ef51c..c5dda5949 100644 --- a/src/external/openctm.cmake +++ b/src/external/openctm.cmake @@ -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" diff --git a/src/external/qhull.cmake b/src/external/qhull.cmake index 790116af4..c8a1174d9 100644 --- a/src/external/qhull.cmake +++ b/src/external/qhull.cmake @@ -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" diff --git a/src/external/ssynth.cmake b/src/external/ssynth.cmake index bf6375310..5dea45a0b 100644 --- a/src/external/ssynth.cmake +++ b/src/external/ssynth.cmake @@ -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" diff --git a/src/external/tinygltf.cmake b/src/external/tinygltf.cmake index 4a53f774c..768516f60 100644 --- a/src/external/tinygltf.cmake +++ b/src/external/tinygltf.cmake @@ -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" diff --git a/src/external/u3d.cmake b/src/external/u3d.cmake index 80c8a8874..fb446a929 100644 --- a/src/external/u3d.cmake +++ b/src/external/u3d.cmake @@ -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" diff --git a/src/external/xerces.cmake b/src/external/xerces.cmake index fc94fd391..5a5e22208 100644 --- a/src/external/xerces.cmake +++ b/src/external/xerces.cmake @@ -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"