1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Update SDRplay API to 3.15 on Mac

This commit is contained in:
Jon Beniston 2024-06-16 09:56:42 +01:00
parent 5821171398
commit c7a27bfa07

View File

@ -60,7 +60,7 @@ target_link_libraries(${TARGET_NAME}
if (APPLE AND (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL arm64)) if (APPLE AND (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL arm64))
add_custom_command(TARGET ${TARGET_NAME} add_custom_command(TARGET ${TARGET_NAME}
POST_BUILD COMMAND POST_BUILD COMMAND
${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3.14 /usr/local/lib/libsdrplay_api.so.3.14 $<TARGET_FILE:${TARGET_NAME}>) ${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3.15 /usr/local/lib/libsdrplay_api.so.3.15 $<TARGET_FILE:${TARGET_NAME}>)
endif() endif()
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER}) install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})