diff options
| author | cDc <cdc.seacave@gmail.com> | 2018-06-06 12:48:03 +0300 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-06-06 02:48:03 -0700 |
| commit | 47d904608c25988c1bf377b773059d93ad69f198 (patch) | |
| tree | e634e9fe3e67ddb2a97a4bb75cb255986b3cd48d | |
| parent | 6f6101065fc19d6ffea09b24ff174cdfbf9e75dd (diff) | |
| download | vcpkg-47d904608c25988c1bf377b773059d93ad69f198.tar.gz vcpkg-47d904608c25988c1bf377b773059d93ad69f198.zip | |
[cgal] feature qt5 (#3646)
| -rw-r--r-- | ports/cgal/CONTROL | 6 | ||||
| -rw-r--r-- | ports/cgal/portfile.cmake | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ports/cgal/CONTROL b/ports/cgal/CONTROL index b81d27c96..12765f391 100644 --- a/ports/cgal/CONTROL +++ b/ports/cgal/CONTROL @@ -1,4 +1,8 @@ Source: cgal Version: 4.12 -Build-Depends: mpfr, mpir, zlib, qt5, boost-format, boost-container, boost-iterator, boost-variant, boost-any, boost-unordered, boost-random +Build-Depends: mpfr, mpir, zlib, boost-format, boost-container, boost-iterator, boost-variant, boost-any, boost-unordered, boost-random, boost-foreach, boost-graph, boost-heap, boost-logic 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 +Description: Qt GUI support for CGAL diff --git a/ports/cgal/portfile.cmake b/ports/cgal/portfile.cmake index 3eb0a9de7..1d9661862 100644 --- a/ports/cgal/portfile.cmake +++ b/ports/cgal/portfile.cmake @@ -8,11 +8,17 @@ vcpkg_from_github( HEAD_REF master ) +set(WITH_CGAL_Qt5 OFF) +if("qt5" IN_LIST FEATURES) + set(WITH_CGAL_Qt5 ON) +endif() + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA OPTIONS -DCGAL_INSTALL_CMAKE_DIR=share/cgal + -DWITH_CGAL_Qt5=${WITH_CGAL_Qt5} ) vcpkg_install_cmake() |
