summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-14 13:06:32 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-14 13:06:32 +0100
commitb5f9d6f38e1d4f8a65e5ae4db37b511f837c3c7a (patch)
tree0e377919debf827397df10a9886ed92ee051999d
parent37775538c4c343a3de86b114953cd4c3363e18fa (diff)
More for "undefined reference to png_init_filter_functions_vsx" (#652)
-rw-r--r--png/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/png/CMakeLists.txt b/png/CMakeLists.txt
index 3994dfd7b..065ede0e0 100644
--- a/png/CMakeLists.txt
+++ b/png/CMakeLists.txt
@@ -59,6 +59,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
#######################################################################