jasper: disable PDF documentation generation
authorBaruch Siach <baruch@tkos.co.il>
Sat, 14 Jan 2017 18:08:29 +0000 (20:08 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Jan 2017 12:15:20 +0000 (13:15 +0100)
We don't need the PDF document on target. This also avoids incompatible host
Latex packages.

Fixes:
http://autobuild.buildroot.net/results/e60/e60c4a71a08aebadd0bc3fb95a57a4a223e4b6fa/
http://autobuild.buildroot.net/results/4ec/4ec8a1735590a3cad4b74630b4b6bdd2e3a7eec8/

[Peter: reformat as suggested by Yann]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/jasper/jasper.mk

index f4db8c492064b515e2e852f009ef95821d6ed3f3..a243b9a1a767e8845456937959f6fa60604f5782 100644 (file)
@@ -10,6 +10,9 @@ JASPER_INSTALL_STAGING = YES
 JASPER_LICENSE = JasPer License Version 2.0
 JASPER_LICENSE_FILES = LICENSE
 JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
+JASPER_CONF_OPTS = \
+       -DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \
+       -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
 
 ifeq ($(BR2_STATIC_LIBS),y)
 JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF