2019-12-23 23:10:59 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cereal
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-06-26 20:35:08 +08:00
|
|
|
CEREAL_VERSION = 1.3.2
|
2019-12-23 23:10:59 +08:00
|
|
|
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
|
2021-01-11 15:04:49 +08:00
|
|
|
CEREAL_CPE_ID_VENDOR = usc
|
2019-12-23 23:10:59 +08:00
|
|
|
CEREAL_INSTALL_STAGING = YES
|
|
|
|
CEREAL_INSTALL_TARGET = NO
|
|
|
|
CEREAL_CONF_OPTS = \
|
2022-06-26 20:35:08 +08:00
|
|
|
-DBUILD_SANDBOX=OFF \
|
2019-12-23 23:10:59 +08:00
|
|
|
-DTHREAD_SAFE=ON \
|
|
|
|
-DJUST_INSTALL_CEREAL=ON
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|