package/jasper: simplify disabling documentation

Replace CMAKE_DISABLE_FIND_PACKAGE_{DOXYGEN,LATEX} by JAS_ENABLE_DOC
which is available (and working as expected) since version 2.0.20 and
cddb7b199a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-01-27 19:04:55 +01:00 committed by Yann E. MORIN
parent 2e7e19a5b0
commit b630df6fb2

View File

@ -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