mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng16] Add "libpng_mips_sources" to CMakeLists.txt when building MIPS_MSA
This commit is contained in:
		
							parent
							
								
									2b80b401be
								
							
						
					
					
						commit
						76b3a7e78f
					
				@ -174,7 +174,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "mipsel*" OR
 | 
				
			|||||||
    message(FATAL_ERROR
 | 
					    message(FATAL_ERROR
 | 
				
			||||||
      " PNG_MIPS_MSA must be one of [${PNG_MIPS_MSA_POSSIBLE_VALUES}]")
 | 
					      " PNG_MIPS_MSA must be one of [${PNG_MIPS_MSA_POSSIBLE_VALUES}]")
 | 
				
			||||||
  elseif(NOT ${PNG_MIPS_MSA} STREQUAL "no")
 | 
					  elseif(NOT ${PNG_MIPS_MSA} STREQUAL "no")
 | 
				
			||||||
    set(libpng_mips
 | 
					    set(libpng_mips_sources
 | 
				
			||||||
      mips/mips_init.c
 | 
					      mips/mips_init.c
 | 
				
			||||||
      mips/filter_msa_intrinsics.c)
 | 
					      mips/filter_msa_intrinsics.c)
 | 
				
			||||||
    if(${PNG_MIPS_MSA} STREQUAL "on")
 | 
					    if(${PNG_MIPS_MSA} STREQUAL "on")
 | 
				
			||||||
@ -477,8 +477,9 @@ set(libpng_sources
 | 
				
			|||||||
  pngwtran.c
 | 
					  pngwtran.c
 | 
				
			||||||
  pngwutil.c
 | 
					  pngwutil.c
 | 
				
			||||||
  ${libpng_arm_sources}
 | 
					  ${libpng_arm_sources}
 | 
				
			||||||
  ${libpng_powerpc_sources}
 | 
					 | 
				
			||||||
  ${libpng_intel_sources}
 | 
					  ${libpng_intel_sources}
 | 
				
			||||||
 | 
					  ${libpng_mips_sources}
 | 
				
			||||||
 | 
					  ${libpng_powerpc_sources}
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
set(pngtest_sources
 | 
					set(pngtest_sources
 | 
				
			||||||
  pngtest.c
 | 
					  pngtest.c
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user