[Buildroot] [git commit] package/jasper: simplify disabling documentation

From: Yann E. MORIN <hidden>
Date: 2022-01-27 19:27:22
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=b630df6fb24ec7f79564bea5fd6d0154268a6ed3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Replace CMAKE_DISABLE_FIND_PACKAGE_{DOXYGEN,LATEX} by JAS_ENABLE_DOC
which is available (and working as expected) since version 2.0.20 and
https://github.com/jasper-software/jasper/commit/cddb7b199a1c78f3ec0b2c6b8af705588437af4b

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Yann E. MORIN <redacted>
---
 package/jasper/jasper.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk
index 6ef1afcac7..59c5b3d66a 100644
--- a/package/jasper/jasper.mk
+++ b/package/jasper/jasper.mk
@@ -11,9 +11,7 @@ JASPER_LICENSE = JasPer-2.0
 JASPER_LICENSE_FILES = LICENSE
 JASPER_CPE_ID_VENDOR = jasper_project
 JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
-JASPER_CONF_OPTS = \
-	-DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \
-	-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
+JASPER_CONF_OPTS = -DJAS_ENABLE_DOC=OFF
 
 ifeq ($(BR2_STATIC_LIBS),y)
 JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help