mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 15:53:29 +08:00
e810284ccb
Upcoming Kodi v18 depends on RapidJSON and detects it by using pkg-conf: https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindRapidJSON.cmake#L13 Currently our package installs only the header files, but RapidJSON.pc is also needed. Luckily this can be fixed by switching to CMake which does the job, also add configure options to disable the CMake build of executables. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
586 B
Makefile
22 lines
586 B
Makefile
################################################################################
|
|
#
|
|
# rapidjson
|
|
#
|
|
################################################################################
|
|
|
|
RAPIDJSON_VERSION = v1.1.0
|
|
RAPIDJSON_SITE = $(call github,miloyip,rapidjson,$(RAPIDJSON_VERSION))
|
|
RAPIDJSON_LICENSE = MIT
|
|
RAPIDJSON_LICENSE_FILES = license.txt
|
|
|
|
# rapidjson is a header-only C++ library
|
|
RAPIDJSON_INSTALL_TARGET = NO
|
|
RAPIDJSON_INSTALL_STAGING = YES
|
|
|
|
RAPIDJSON_CONF_OPTS = \
|
|
-DRAPIDJSON_BUILD_DOC=OFF \
|
|
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
|
-DRAPIDJSON_BUILD_TESTS=OFF
|
|
|
|
$(eval $(cmake-package))
|