mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 15:41:38 +08:00
[cgal] Avoid using absolute paths in cmake config file
This commit is contained in:
parent
ca1e6d8ab7
commit
c2afc5266c
@ -1,4 +1,4 @@
|
||||
Source: cgal
|
||||
Version: 4.11-2
|
||||
Version: 4.11-3
|
||||
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.
|
||||
|
@ -25,5 +25,10 @@ vcpkg_copy_pdbs()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
file(READ ${CURRENT_PACKAGES_DIR}/share/cgal/CGALConfig.cmake _contents)
|
||||
string(REPLACE "CGAL_IGNORE_PRECONFIGURED_GMP" "1" _contents "${_contents}")
|
||||
string(REPLACE "CGAL_IGNORE_PRECONFIGURED_MPFR" "1" _contents "${_contents}")
|
||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/cgal/CGALConfig.cmake "${_contents}")
|
||||
|
||||
# Handle copyright of suitesparse and metis
|
||||
file(COPY ${SOURCE_PATH}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/cgal)
|
||||
|
Loading…
Reference in New Issue
Block a user