From eb34e61d6d1a01851db311776f8f6218449ca53c Mon Sep 17 00:00:00 2001 From: Albert Ziegenhagel Date: Mon, 8 Jan 2018 14:00:54 +0100 Subject: [PATCH] [cgal] Use CGAL_INSTALL_CMAKE_DIR to force an installation path for CMake files --- ports/cgal/CONTROL | 2 +- ports/cgal/portfile.cmake | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ports/cgal/CONTROL b/ports/cgal/CONTROL index c2331f2946..2fc86bd114 100644 --- a/ports/cgal/CONTROL +++ b/ports/cgal/CONTROL @@ -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. diff --git a/ports/cgal/portfile.cmake b/ports/cgal/portfile.cmake index 9ef8c189d3..642e88920b 100644 --- a/ports/cgal/portfile.cmake +++ b/ports/cgal/portfile.cmake @@ -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()