summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-07-08 19:25:08 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-07-08 19:25:08 -0500
commit2b80b401be837d406897f2390b076e975065a8a0 (patch)
treef40fe6e92c8dc03e98b1ce174b1f86875c674f2e
parentf16c3406cde2633f08e0e96bbc6a22b1fcefe799 (diff)
downloadlibpng-2b80b401be837d406897f2390b076e975065a8a0.tar.gz
[libpng16] Mention cmake "PNG_HARDWARE_OPTIMIZATIONS" in INSTALL
-rw-r--r--INSTALL10
1 files changed, 10 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 14497f6d0..1d6a3523e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -319,6 +319,16 @@ or via compiler-command options such as
CPPFLAGS += "-DPNG_ARM_NEON_OPT=0, -DPNG_MIPS_MSA_OPT=0,
-DPNG_INTEL_SSE_OPT=0, -DPNG_POWERPC_VSX_OPT=0"
+If you are using cmake, hardware optimizations are "on"
+by default. To disable them, use
+
+ cmake . -DPNG_ARM_NEON=no -DPNG_INTEL_SSE=no \
+ -DPNG_MIPS_MSA=no -DPNG_POWERPC_VSX=no
+
+or disable them all at once with
+
+ cmake . -DPNG_HARDWARE_OPTIMIZATIONS=no
+
XV. Changes to the build and configuration of libpng in libpng-1.5.x
Details of internal changes to the library code can be found in the CHANGES