mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Build libpng as part of deps on Linux
- We've found counter case where the system provided one is missing or is too old.
This commit is contained in:
		
							parent
							
								
									1eef1d32a0
								
							
						
					
					
						commit
						d904862bc7
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		
							
								
								
									
										9
									
								
								deps/deps-linux.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								deps/deps-linux.cmake
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -3,10 +3,11 @@ set(DEP_CMAKE_OPTS "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
 | 
			
		|||
 | 
			
		||||
include("deps-unix-common.cmake")
 | 
			
		||||
 | 
			
		||||
find_package(PNG QUIET)
 | 
			
		||||
if (NOT PNG_FOUND)
 | 
			
		||||
    message(WARNING "No PNG dev package found in system, building static library. You should install the system package.")
 | 
			
		||||
endif ()
 | 
			
		||||
# Some Linuxes may have very old libpng, so it's best to bundle it instead of relying on the system version.
 | 
			
		||||
# find_package(PNG QUIET)
 | 
			
		||||
# if (NOT PNG_FOUND)
 | 
			
		||||
#     message(WARNING "No PNG dev package found in system, building static library. You should install the system package.")
 | 
			
		||||
# endif ()
 | 
			
		||||
 | 
			
		||||
#TODO UDEV
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue