eb34442831
Release notes: https://github.com/gabime/spdlog/releases/tag/v1.12.0 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
660 B
Makefile
26 lines
660 B
Makefile
################################################################################
|
|
#
|
|
# spdlog
|
|
#
|
|
################################################################################
|
|
|
|
SPDLOG_VERSION = 1.12.0
|
|
SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION))
|
|
SPDLOG_LICENSE = MIT
|
|
SPDLOG_LICENSE_FILES = LICENSE
|
|
SPDLOG_INSTALL_STAGING = YES
|
|
SPDLOG_DEPENDENCIES = fmt
|
|
SPDLOG_CONF_OPTS += \
|
|
-DSPDLOG_BUILD_TESTS=OFF \
|
|
-DSPDLOG_BUILD_EXAMPLE=OFF \
|
|
-DSPDLOG_BUILD_BENCH=OFF \
|
|
-DSPDLOG_FMT_EXTERNAL=ON
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF
|
|
else
|
|
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|