Automatic merge branch 'main' into 'devel'

This commit is contained in:
github-actions[bot] 2023-11-06 12:56:05 +00:00 committed by GitHub
commit 360a3d2f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,14 +5,16 @@
option(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LEVMAR "Allow download and use of levmar source" ON)
if(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LEVMAR)
set(LEVMAR_DIR "${MESHLAB_EXTERNAL_DOWNLOAD_DIR}/levmar-2.6")
set(LEVMAR_VERSION "2.6.1")
set(LEVMAR_DIR "${MESHLAB_EXTERNAL_DOWNLOAD_DIR}/levmar-${LEVMAR_VERSION}")
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
https://www.meshlab.net/data/libs/levmar-2.6.tgz)
set(LEVMAR_MD5 16bc34efa1617219f241eef06427f13f)
https://github.com/alemuntoni/levmar/archive/refs/tags/${LEVMAR_VERSION}.zip
https://www.meshlab.net/data/libs/levmar-${LEVMAR_VERSION}.zip)
set(LEVMAR_MD5 ecc22109fcad6575645de6e1a87d2ea3)
download_and_unzip(
NAME "Levmar"
LINK ${LEVMAR_LINK}