blob: 19faa2ac4ea6b822d394fb2ad538abac9fdab22c [file] [log] [blame]
################################################################################
#
# 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_CPE_ID_VENDOR = usc
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))