mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Add dependency on -ldl to hidapi (for dlclose) on linux
This commit is contained in:
		
							parent
							
								
									e649a28ffc
								
							
						
					
					
						commit
						34b6f7362a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,5 +15,5 @@ add_library(hidapi STATIC ${HIDAPI_IMPL})
 | 
			
		|||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
 | 
			
		||||
	# Don't link the udev library, as there are two versions out there (libudev.so.0, libudev.so.1), so they are linked explicitely.
 | 
			
		||||
#	target_link_libraries(hidapi udev)
 | 
			
		||||
	target_link_libraries(hidapi)
 | 
			
		||||
	target_link_libraries(hidapi dl)
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue