summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
#######################################################################