2019-04-27 16:03:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# spdlog
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-08-14 13:50:30 +02:00
|
|
|
SPDLOG_VERSION = 1.9.2
|
2019-04-27 16:03:35 +02:00
|
|
|
SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION))
|
|
|
|
SPDLOG_LICENSE = MIT
|
|
|
|
SPDLOG_LICENSE_FILES = LICENSE
|
2021-01-26 18:54:56 +01:00
|
|
|
SPDLOG_INSTALL_STAGING = YES
|
2019-04-27 16:03:35 +02:00
|
|
|
SPDLOG_DEPENDENCIES = fmt
|
|
|
|
SPDLOG_CONF_OPTS += \
|
|
|
|
-DSPDLOG_BUILD_TESTS=OFF \
|
2020-01-14 18:59:12 +01:00
|
|
|
-DSPDLOG_BUILD_EXAMPLE=OFF \
|
2019-04-27 16:03:35 +02:00
|
|
|
-DSPDLOG_BUILD_BENCH=OFF \
|
|
|
|
-DSPDLOG_FMT_EXTERNAL=ON
|
|
|
|
|
2021-01-26 18:54:56 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF
|
|
|
|
else
|
|
|
|
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON
|
|
|
|
endif
|
2019-04-27 16:03:35 +02:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|