Merge pull request #2529 from albertziegenhagel/fix-cgal-head

[cgal] Fix installation with --head
This commit is contained in:
Robert Schumacher 2018-01-08 23:36:02 -08:00 committed by GitHub
commit cce3f40e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Source: cgal
Version: 4.11-1
Version: 4.11-2
Build-Depends: mpfr, mpir, zlib, qt5, boost-format, boost-container, boost-iterator, boost-variant, boost-any, boost-unordered, boost-random
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.

View File

@ -11,11 +11,13 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DCGAL_INSTALL_CMAKE_DIR=share/cgal
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/CGAL")
vcpkg_fixup_cmake_targets()
vcpkg_copy_pdbs()