aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Ziegenhagel <albert.ziegenhagel@scai.fraunhofer.de>2018-01-08 14:00:54 +0100
committerAlbert Ziegenhagel <albert.ziegenhagel@scai.fraunhofer.de>2018-01-08 14:04:42 +0100
commiteb34e61d6d1a01851db311776f8f6218449ca53c (patch)
tree264baa17480b3e16b851954429c6f4b598f89ad9
parent31b1989394f801b7d569d0f00a2c00be7d6de96a (diff)
downloadvcpkg-eb34e61d6d1a01851db311776f8f6218449ca53c.tar.gz
vcpkg-eb34e61d6d1a01851db311776f8f6218449ca53c.zip
[cgal] Use CGAL_INSTALL_CMAKE_DIR to force an installation path for CMake files
-rw-r--r--ports/cgal/CONTROL2
-rw-r--r--ports/cgal/portfile.cmake4
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/cgal/CONTROL b/ports/cgal/CONTROL
index c2331f294..2fc86bd11 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 9ef8c189d..642e88920 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()