mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:19:00 +08:00
[nlopt] fix paths in cmake config being one too deep (#37236)
This commit is contained in:
parent
4f555033d3
commit
7965f915f8
@ -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/include")
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
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()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "nlopt",
|
"name": "nlopt",
|
||||||
"version": "2.7.1",
|
"version": "2.7.1",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Library for nonlinear local and global optimization, for functions with and without gradient information.",
|
"description": "Library for nonlinear local and global optimization, for functions with and without gradient information.",
|
||||||
"homepage": "https://github.com/stevengj/nlopt",
|
"homepage": "https://github.com/stevengj/nlopt",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -6098,7 +6098,7 @@
|
|||||||
},
|
},
|
||||||
"nlopt": {
|
"nlopt": {
|
||||||
"baseline": "2.7.1",
|
"baseline": "2.7.1",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"nmap": {
|
"nmap": {
|
||||||
"baseline": "7.70",
|
"baseline": "7.70",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "a83b7384132bb8eb542186bfe52258577f62897b",
|
||||||
|
"version": "2.7.1",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "b98ca95cd180e8c31c718f78ef39b5d733f0399f",
|
"git-tree": "b98ca95cd180e8c31c718f78ef39b5d733f0399f",
|
||||||
"version": "2.7.1",
|
"version": "2.7.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user