From 76b3a7e78f54b4298e5cad9f277a5f652b3e0414 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 8 Jul 2017 20:09:07 -0500 Subject: [PATCH] [libpng16] Add "libpng_mips_sources" to CMakeLists.txt when building MIPS_MSA --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 643a48cc6..cd8c6b6c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,7 +174,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "mipsel*" OR message(FATAL_ERROR " PNG_MIPS_MSA must be one of [${PNG_MIPS_MSA_POSSIBLE_VALUES}]") elseif(NOT ${PNG_MIPS_MSA} STREQUAL "no") - set(libpng_mips + set(libpng_mips_sources mips/mips_init.c mips/filter_msa_intrinsics.c) if(${PNG_MIPS_MSA} STREQUAL "on") @@ -477,8 +477,9 @@ set(libpng_sources pngwtran.c pngwutil.c ${libpng_arm_sources} - ${libpng_powerpc_sources} ${libpng_intel_sources} + ${libpng_mips_sources} + ${libpng_powerpc_sources} ) set(pngtest_sources pngtest.c