[nlopt] fix paths in cmake config being one too deep (#37236)

This commit is contained in:
Alexander Neumann 2024-03-08 07:03:48 +01:00 committed by GitHub
parent 4f555033d3
commit 7965f915f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 2 deletions

View File

@ -25,6 +25,8 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nlopt)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/nlopt/NLoptConfig.cmake" "/../../" "/../")
vcpkg_fixup_pkgconfig()

View File

@ -1,6 +1,7 @@
{
"name": "nlopt",
"version": "2.7.1",
"port-version": 1,
"description": "Library for nonlinear local and global optimization, for functions with and without gradient information.",
"homepage": "https://github.com/stevengj/nlopt",
"dependencies": [

View File

@ -6098,7 +6098,7 @@
},
"nlopt": {
"baseline": "2.7.1",
"port-version": 0
"port-version": 1
},
"nmap": {
"baseline": "7.70",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a83b7384132bb8eb542186bfe52258577f62897b",
"version": "2.7.1",
"port-version": 1
},
{
"git-tree": "b98ca95cd180e8c31c718f78ef39b5d733f0399f",
"version": "2.7.1",