From 600e338babe2ba33aa1de5b18907bbf741dbf6cb Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 12 Nov 2024 15:38:34 +0000 Subject: [PATCH] SDRplayv3: Mac now appears to link with libsdrplay_api.so.3 rather than libsdrplay_api.so.3.15. --- plugins/samplesource/sdrplayv3/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/samplesource/sdrplayv3/CMakeLists.txt b/plugins/samplesource/sdrplayv3/CMakeLists.txt index 85871718fa..5930163f6b 100644 --- a/plugins/samplesource/sdrplayv3/CMakeLists.txt +++ b/plugins/samplesource/sdrplayv3/CMakeLists.txt @@ -67,6 +67,9 @@ if (APPLE AND (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL arm64)) add_custom_command(TARGET ${TARGET_NAME} POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3.15 /usr/local/lib/libsdrplay_api.so.3.15 $) + add_custom_command(TARGET ${TARGET_NAME} + POST_BUILD COMMAND + ${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3 /usr/local/lib/libsdrplay_api.so.3 $) endif() install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})