aboutsummaryrefslogtreecommitdiff
path: root/ports/cgal
diff options
context:
space:
mode:
authornicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>2021-07-20 12:24:58 -0500
committerGitHub <noreply@github.com>2021-07-20 10:24:58 -0700
commit0e1dc121856eef84bf1852134e548bf9898dabac (patch)
tree4bbae150d61121c81c33a2f4b7b92063e4db3060 /ports/cgal
parentb67fab9861239e33b722b9a44f5c96dec6ca807e (diff)
downloadvcpkg-0e1dc121856eef84bf1852134e548bf9898dabac.tar.gz
vcpkg-0e1dc121856eef84bf1852134e548bf9898dabac.zip
[rollup] Rollup PR 2021-07-16 (#19001)
* [rollup:2021-07-16 1/7] PR #18201 (@JackBoosY) [vcpkg-cmake] Add check for unused cmake variables * [rollup:2021-07-16 2/7] PR #18397 (@strega-nil) [vcpkg_list] add new function * [rollup:2021-07-16 3/7] PR #18782 (@strega-nil) [scripts-audit] vcpkg_build_ninja * [rollup:2021-07-16 4/7] PR #18784 (@strega-nil) [scripts-audit] vcpkg_minimum_required * [rollup:2021-07-16 5/7] PR #18785 (@strega-nil) [scripts-audit] vcpkg_replace_string * [rollup:2021-07-16 6/7] PR #18786 (@strega-nil) [scripts-audit] windows scripts * [rollup:2021-07-16 7/7] PR #18945 (@strega-nil) [many ports] remove deprecated vcpkg_check_features call [1/5] Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports/cgal')
-rw-r--r--ports/cgal/CONTROL10
-rw-r--r--ports/cgal/portfile.cmake3
-rw-r--r--ports/cgal/vcpkg.json69
3 files changed, 71 insertions, 11 deletions
diff --git a/ports/cgal/CONTROL b/ports/cgal/CONTROL
deleted file mode 100644
index ee817113a..000000000
--- a/ports/cgal/CONTROL
+++ /dev/null
@@ -1,10 +0,0 @@
-Source: cgal
-Version: 5.2.2
-Port-Version: 0
-Build-Depends: mpfr, gmp, zlib, boost-accumulators, boost-algorithm, boost-bimap, boost-callable-traits, boost-concept-check, boost-container, boost-core, boost-detail, boost-filesystem, boost-functional, boost-fusion, boost-geometry, boost-graph, boost-heap, boost-intrusive, boost-iostreams, boost-iterator, boost-lambda, boost-logic, boost-math, boost-mpl, boost-multi-index, boost-multiprecision, boost-numeric-conversion, boost-optional, boost-parameter, boost-pool, boost-preprocessor, boost-property-map, boost-property-tree, boost-ptr-container, boost-random, boost-range, boost-serialization, boost-spirit, boost-thread, boost-tuple, boost-type-traits, boost-units, boost-utility, boost-variant
-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.
-
-Feature: qt
-Build-Depends: qt5-base[core], qt5-3d, qt5-svg, qt5-xmlpatterns, qt5-script, eigen3
-Description: Qt GUI support for CGAL
diff --git a/ports/cgal/portfile.cmake b/ports/cgal/portfile.cmake
index 87be4144f..729ece895 100644
--- a/ports/cgal/portfile.cmake
+++ b/ports/cgal/portfile.cmake
@@ -9,7 +9,8 @@ vcpkg_from_github(
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- qt WITH_CGAL_Qt5
+ FEATURES
+ qt WITH_CGAL_Qt5
)
vcpkg_configure_cmake(
diff --git a/ports/cgal/vcpkg.json b/ports/cgal/vcpkg.json
new file mode 100644
index 000000000..1ac7f45ff
--- /dev/null
+++ b/ports/cgal/vcpkg.json
@@ -0,0 +1,69 @@
+{
+ "name": "cgal",
+ "version": "5.2.2",
+ "port-version": 1,
+ "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.",
+ "homepage": "https://github.com/CGAL/cgal",
+ "dependencies": [
+ "boost-accumulators",
+ "boost-algorithm",
+ "boost-bimap",
+ "boost-callable-traits",
+ "boost-concept-check",
+ "boost-container",
+ "boost-core",
+ "boost-detail",
+ "boost-filesystem",
+ "boost-functional",
+ "boost-fusion",
+ "boost-geometry",
+ "boost-graph",
+ "boost-heap",
+ "boost-intrusive",
+ "boost-iostreams",
+ "boost-iterator",
+ "boost-lambda",
+ "boost-logic",
+ "boost-math",
+ "boost-mpl",
+ "boost-multi-index",
+ "boost-multiprecision",
+ "boost-numeric-conversion",
+ "boost-optional",
+ "boost-parameter",
+ "boost-pool",
+ "boost-preprocessor",
+ "boost-property-map",
+ "boost-property-tree",
+ "boost-ptr-container",
+ "boost-random",
+ "boost-range",
+ "boost-serialization",
+ "boost-spirit",
+ "boost-thread",
+ "boost-tuple",
+ "boost-type-traits",
+ "boost-units",
+ "boost-utility",
+ "boost-variant",
+ "gmp",
+ "mpfr",
+ "zlib"
+ ],
+ "features": {
+ "qt": {
+ "description": "Qt GUI support for CGAL",
+ "dependencies": [
+ "eigen3",
+ "qt5-3d",
+ {
+ "name": "qt5-base",
+ "default-features": false
+ },
+ "qt5-script",
+ "qt5-svg",
+ "qt5-xmlpatterns"
+ ]
+ }
+ }
+}