aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Kogler <samuel.kogler@gmail.com>2018-05-14 18:53:12 +0200
committerSamuel Kogler <samuel.kogler@gmail.com>2018-05-14 18:53:12 +0200
commit03ffd5bac9ddd917953e253fdc6ff07b46cb8b50 (patch)
tree932a004948a8ad564fed23ad001cf84156c7e8f4
parente576ca2e7f2806d0be0ce24e39826f95cf48b7dd (diff)
downloadvcpkg-03ffd5bac9ddd917953e253fdc6ff07b46cb8b50.tar.gz
vcpkg-03ffd5bac9ddd917953e253fdc6ff07b46cb8b50.zip
Update OpenMesh to 7.0 and use new gitlab function.
-rw-r--r--ports/openmesh/portfile.cmake17
1 files changed, 10 insertions, 7 deletions
diff --git a/ports/openmesh/portfile.cmake b/ports/openmesh/portfile.cmake
index f70773ceb..26c167adb 100644
--- a/ports/openmesh/portfile.cmake
+++ b/ports/openmesh/portfile.cmake
@@ -11,18 +11,21 @@
#
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/openmesh-6.3)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://www.openmesh.org/media/Releases/6.3/OpenMesh-6.3.tar.gz"
- FILENAME "openmesh-6.3.tar.gz"
- SHA512 2ef2dcd2e0abcb0c36a3a9abac433ef4d3430115498ff1134525b27a0f023d7e3bb0d80550f0c8b9658c87651594bce29138bdca05db57f02a5e99e2275c2c07
+
+vcpkg_from_gitlab(
+ OUT_SOURCE_PATH SOURCE_PATH
+ GITLAB_URL "https://graphics.rwth-aachen.de:9000"
+ REPO "OpenMesh/OpenMesh"
+ REF "OpenMesh-7.0"
+ HEAD_REF "master"
+ SHA512 "70e414088c094199af31a8694fb91fa5f9b574b3cc86b30b3fb64d938e6a218f9f38d857c559f958276b01ec9263ef71cd4039444e50a8cb38e820243aac7956"
)
-vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
- OPTIONS -DBUILD_APPS=OFF # [TODO]: add apps as feature, requires qt5 and freeglut
+ OPTIONS -DBUILD_APPS=OFF
+ # [TODO]: add apps as feature, requires qt5 and freeglut
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1