SDRplayv3: Mac now appears to link with libsdrplay_api.so.3 rather than libsdrplay_api.so.3.15.

pull/2327/head
Jon Beniston 2024-11-12 15:38:34 +00:00
rodzic cb4651af0b
commit 600e338bab
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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 $<TARGET_FILE:${TARGET_NAME}>)
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 $<TARGET_FILE:${TARGET_NAME}>)
endif()
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})