mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[cgal] feature qt5 (#3646)
This commit is contained in:
parent
6f6101065f
commit
47d904608c
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user