From b5f9d6f38e1d4f8a65e5ae4db37b511f837c3c7a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 14 Jan 2023 13:06:32 +0100 Subject: More for "undefined reference to png_init_filter_functions_vsx" (#652) --- png/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'png') diff --git a/png/CMakeLists.txt b/png/CMakeLists.txt index 3994dfd7b..065ede0e0 100644 --- a/png/CMakeLists.txt +++ b/png/CMakeLists.txt @@ -58,6 +58,17 @@ endif () unset (is_arm) +####################################################################### +# Build some files on ppc64 +# We compile these files whatever the architecture resulting in void code +# on non-ppc64 architectures. +####################################################################### + +LIST (APPEND PNG_SRCS + powerpc/powerpc_init.c + powerpc/filter_vsx_intrinsics.c +) + ####################################################################### # Build the static library ####################################################################### -- cgit v1.2.3