mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	Don't build UHD it ENABLE_EXTERNAL_LIBRARIES=AUTO
This commit is contained in:
		
							parent
							
								
									2e26ef468b
								
							
						
					
					
						commit
						e40b98b381
					
				
							
								
								
									
										4
									
								
								external/CMakeLists.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								external/CMakeLists.txt
									
									
									
									
										vendored
									
									
								
							| @ -1478,7 +1478,7 @@ if (WIN32 OR APPLE) | |||||||
|         endif () |         endif () | ||||||
|     endif (ENABLE_BLADERF) |     endif (ENABLE_BLADERF) | ||||||
| 
 | 
 | ||||||
|     if (ENABLE_USRP AND Boost_FOUND AND NOT WIN32) |     if (ENABLE_USRP AND Boost_FOUND AND NOT WIN32 AND ((NOT UHD_FOUND) OR (ENABLE_EXTERNAL_LIBRARIES STREQUAL "ON")) | ||||||
|         ExternalProject_Add(uhd |         ExternalProject_Add(uhd | ||||||
|                 GIT_REPOSITORY https://github.com/EttusResearch/uhd.git |                 GIT_REPOSITORY https://github.com/EttusResearch/uhd.git | ||||||
|                 GIT_TAG v4.2.0.0 |                 GIT_TAG v4.2.0.0 | ||||||
| @ -1504,7 +1504,7 @@ if (WIN32 OR APPLE) | |||||||
|             set(UHD_LIBRARIES "${install_dir}/lib/libuhd${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "") |             set(UHD_LIBRARIES "${install_dir}/lib/libuhd${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "") | ||||||
|             set(MACOS_EXTERNAL_LIBS_FIXUP "${MACOS_EXTERNAL_LIBS_FIXUP};${install_dir}/lib") |             set(MACOS_EXTERNAL_LIBS_FIXUP "${MACOS_EXTERNAL_LIBS_FIXUP};${install_dir}/lib") | ||||||
|         endif () |         endif () | ||||||
|     endif (ENABLE_USRP AND Boost_FOUND AND NOT WIN32) |     endif (ENABLE_USRP AND Boost_FOUND AND NOT WIN32 AND ((NOT UHD_FOUND) OR (ENABLE_EXTERNAL_LIBRARIES STREQUAL "ON")) | ||||||
| 
 | 
 | ||||||
| endif (WIN32 OR APPLE) | endif (WIN32 OR APPLE) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user