From 0e47c1985273129e4d0ee52ff73bed9125555de8 Mon Sep 17 00:00:00 2001 From: Sander Cox Date: Sat, 16 Dec 2023 00:34:57 +0100 Subject: [PATCH] fix: find_package broken on Ableton-Link (#35603) --- ports/ableton-link/portfile.cmake | 4 ++-- ports/ableton-link/vcpkg.json | 2 +- versions/a-/ableton-link.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ports/ableton-link/portfile.cmake b/ports/ableton-link/portfile.cmake index 521563e857..b816349384 100644 --- a/ports/ableton-link/portfile.cmake +++ b/ports/ableton-link/portfile.cmake @@ -76,8 +76,8 @@ vcpkg_apply_patches( correct_cmake_include_directory.patch ) -file(INSTALL "${SOURCE_PATH}/AbletonLinkConfig.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/") -file(INSTALL "${SOURCE_PATH}/cmake_include/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake_include/") +file(INSTALL "${SOURCE_PATH}/AbletonLinkConfig.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/abletonlink") +file(INSTALL "${SOURCE_PATH}/cmake_include/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/abletonlink/cmake_include/") file(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include" PATTERN "CMakeLists.txt" EXCLUDE) # Handle copyright diff --git a/ports/ableton-link/vcpkg.json b/ports/ableton-link/vcpkg.json index 463aabaf71..ad5a562844 100644 --- a/ports/ableton-link/vcpkg.json +++ b/ports/ableton-link/vcpkg.json @@ -1,7 +1,7 @@ { "name": "ableton-link", "version": "3.0.6", - "port-version": 1, + "port-version": 2, "description": "Ableton Link, a technology that synchronizes musical beat, tempo, and phase across multiple applications running on one or more devices.", "homepage": "https://www.ableton.com/en/link/", "documentation": "http://ableton.github.io/link/", diff --git a/versions/a-/ableton-link.json b/versions/a-/ableton-link.json index 54d3152a5e..2214fa7afe 100644 --- a/versions/a-/ableton-link.json +++ b/versions/a-/ableton-link.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3c37c3cf9ca37c0c0d9ddffec58b8deb9c968723", + "version": "3.0.6", + "port-version": 2 + }, { "git-tree": "e88d1fcc5959b44924c1bec7ae3b5535327f41ef", "version": "3.0.6", diff --git a/versions/baseline.json b/versions/baseline.json index b53f19895b..23b005b4b7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -14,7 +14,7 @@ }, "ableton-link": { "baseline": "3.0.6", - "port-version": 1 + "port-version": 2 }, "abseil": { "baseline": "20230802.1",