aboutsummaryrefslogtreecommitdiff
path: root/package/cereal/cereal.mk
blob: c31c3b1adb20e66061737ee9bb0828e15b6320cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# cereal
#
################################################################################

CEREAL_VERSION = 1.3.0
CEREAL_SITE = $(call github,USCiLab,cereal,v$(CEREAL_VERSION))
# For licensing, see also: https://github.com/USCiLab/cereal/issues/609
CEREAL_LICENSE = BSD-3-Clause (cereal), Zlib (base64.hpp), MIT (rapidjson), BSL-1.0 or MIT (rapidxml)
CEREAL_LICENSE_FILES = LICENSE include/cereal/external/base64.hpp include/cereal/external/rapidjson/rapidjson.h include/cereal/external/rapidxml/license.txt
CEREAL_INSTALL_STAGING = YES
CEREAL_INSTALL_TARGET = NO
CEREAL_CONF_OPTS = \
	-DTHREAD_SAFE=ON \
	-DJUST_INSTALL_CEREAL=ON

# 0001-Store-a-copy-of-each-serialized-shared_ptr-within-the-archive.patch
CEREAL_IGNORE_CVES += CVE-2020-11105

$(eval $(cmake-package))