[cgal] Use CGAL_INSTALL_CMAKE_DIR to force an installation path for CMake files

This commit is contained in:
Albert Ziegenhagel 2018-01-08 14:00:54 +01:00
parent 31b1989394
commit eb34e61d6d
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()