mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	SDRPlayV3 on Mac: Update library path so is works with API 3.12.1.
This commit is contained in:
		
							parent
							
								
									bad53f90c4
								
							
						
					
					
						commit
						ae04412e88
					
				| @ -56,11 +56,11 @@ target_link_libraries(${TARGET_NAME} | ||||
|         ${SDRPLAY_LIBRARIES} | ||||
| ) | ||||
| 
 | ||||
| # Library name is wrong in 3.12 release | ||||
| #  /usr/local/lib doesn't seem to be searched by default | ||||
| 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_arm64.so.3.12 /Library/SDRplayAPI/3.12.0/lib/libsdrplay_api.so.3.12.0  $<TARGET_FILE:${TARGET_NAME}>) | ||||
|         ${CMAKE_INSTALL_NAME_TOOL} -change libsdrplay_api.so.3.12 /usr/local/lib/libsdrplay_api.so.3.12  $<TARGET_FILE:${TARGET_NAME}>) | ||||
| endif() | ||||
| 
 | ||||
| install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER}) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user