From eb7fa438f24a506c38ce13811f92f9b07f2250e2 Mon Sep 17 00:00:00 2001 From: Franco Venturi Date: Sun, 9 Jun 2024 15:13:16 -0400 Subject: [PATCH] mac test #10 --- lib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6e46a17..1e394c0 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -55,6 +55,10 @@ if(APPLE) set_target_properties(gnuradio-sdrplay3 PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) + add_custom_command(TARGET gnuradio-sdrplay3 + POST_BUILD COMMAND + ${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3 @rpath/libsdrplay_api.so.3 $ + ) endif(APPLE) ########################################################################