aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-10-27 15:54:31 +0800
committerGitHub <noreply@github.com>2020-10-27 00:54:31 -0700
commitc38b82d53dce84ca13ed7b164689d0dbb7fb2ed8 (patch)
tree8ecf3cd34a86ccb6b0eea9cbbd677e5e31f57e9c
parentb9f003fb4930899b76710e58ae254c07377ce439 (diff)
downloadvcpkg-c38b82d53dce84ca13ed7b164689d0dbb7fb2ed8.tar.gz
vcpkg-c38b82d53dce84ca13ed7b164689d0dbb7fb2ed8.zip
[cgal] Update REF and SHA512 (#14244)
* [cgal] Update REF and SHA512 * Update portfile.cmake Remove space line
-rw-r--r--ports/cgal/CONTROL2
-rw-r--r--ports/cgal/portfile.cmake13
2 files changed, 6 insertions, 9 deletions
diff --git a/ports/cgal/CONTROL b/ports/cgal/CONTROL
index b834b8f43..192784692 100644
--- a/ports/cgal/CONTROL
+++ b/ports/cgal/CONTROL
@@ -1,5 +1,5 @@
Source: cgal
-Version: 5.1-beta2
+Version: 5.1
Build-Depends: mpfr, mpir, zlib, boost-format, boost-container, boost-ptr-container, boost-iterator, boost-variant, boost-any, boost-unordered, boost-random, boost-foreach, boost-graph, boost-heap, boost-logic, boost-multiprecision, boost-interval
Homepage: https://github.com/CGAL/cgal
Description: The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.
diff --git a/ports/cgal/portfile.cmake b/ports/cgal/portfile.cmake
index 0422616c9..150a8183b 100644
--- a/ports/cgal/portfile.cmake
+++ b/ports/cgal/portfile.cmake
@@ -3,16 +3,14 @@ vcpkg_buildpath_length_warning(37)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CGAL/cgal
- REF v5.1
- SHA512 862725887558adbc142b794f96ef8bf24264f3777653248249021743cc4f514a41525322ca060d2ef0746d1012532fb722f3a0b74cc7e1a41c89b933e09049ca
+ REF b271ec54df4547dd63db6b84efc5b5ecd57750a7 # v5.1
+ SHA512 c1a9166eaa3b437f0f164fc04b76d2b3805a284f333a3c40b4045160210fc331f6c5d2a9fa73e3959d8e3bedbe88abc38786552e2ce5a121b3e6dda27818e103
HEAD_REF master
)
-set(WITH_CGAL_Qt5 OFF)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
qt WITH_CGAL_Qt5
- )
-
+)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
@@ -45,7 +43,6 @@ endif()
file(WRITE ${CURRENT_PACKAGES_DIR}/lib/cgal/CGALConfig.cmake "include (\$\{CMAKE_CURRENT_LIST_DIR\}/../../share/cgal/CGALConfig.cmake)")
-
file(INSTALL ${SOURCE_PATH}/Installation/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(
@@ -54,7 +51,7 @@ file(
${SOURCE_PATH}/Installation/LICENSE.FREE_USE
${SOURCE_PATH}/Installation/LICENSE.GPL
${SOURCE_PATH}/Installation/LICENSE.LGPL
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/cgal
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
)
-file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/cgal)
+file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})