b341f0c91f
Pass needed CMake options to disable generating documentations. The documentation is built using python-sphinx, which is not packaged in Buildroot. Prior to this change, if the build host would have a Python installation with the sphinx module installed the automatic detection tried to build documentation, which would fail in cases where the sphinxcontrib-qthelp package is missing from the host Python installation. The error message in this case was: Extension error: Could not import extension ecm (exception: cannot import name 'htmlescape' from 'sphinx.util.pycompat' (/usr/lib/python3.10/site-packages/sphinx/util/pycompat.py)) Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
23 lines
772 B
Makefile
23 lines
772 B
Makefile
################################################################################
|
|
#
|
|
# kf5-extra-cmake-modules
|
|
#
|
|
################################################################################
|
|
|
|
KF5_EXTRA_CMAKE_MODULES_VERSION = $(KF5_VERSION)
|
|
KF5_EXTRA_CMAKE_MODULES_SITE = $(KF5_SITE)
|
|
KF5_EXTRA_CMAKE_MODULES_SOURCE = extra-cmake-modules-$(KF5_EXTRA_CMAKE_MODULES_VERSION).tar.xz
|
|
KF5_EXTRA_CMAKE_MODULES_LICENSE = BSD-3-Clause
|
|
KF5_EXTRA_CMAKE_MODULES_LICENSE_FILES = COPYING-CMAKE-SCRIPTS
|
|
|
|
KF5_EXTRA_CMAKE_MODULES_DEPENDENCIES = host-pkgconf
|
|
KF5_EXTRA_CMAKE_MODULES_INSTALL_STAGING = YES
|
|
KF5_EXTRA_CMAKE_MODULES_INSTALL_TARGET = NO
|
|
|
|
KF5_EXTRA_CMAKE_MODULES_CONF_OPTS += \
|
|
-DBUILD_HTML_DOCS=OFF \
|
|
-DBUILD_MAN_DOCS=OFF \
|
|
-DBUILD_QTHELP_DOCS=OFF
|
|
|
|
$(eval $(cmake-package))
|