1################################################################################ 2# 3# opentracing-cpp 4# 5################################################################################ 6 7OPENTRACING_CPP_VERSION = 1.6.0 8OPENTRACING_CPP_SITE = \ 9 $(call github,opentracing,opentracing-cpp,v$(OPENTRACING_CPP_VERSION)) 10OPENTRACING_CPP_LICENSE = Apache-2.0 11OPENTRACING_CPP_LICENSE_FILES = LICENSE 12 13OPENTRACING_CPP_INSTALL_STAGING = YES 14 15# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable 16# although BUILD_STATIC_LIBS=ON is default, make it explicit, 17# cmake and static/shared libs is confusing enough already. 18ifeq ($(BR2_STATIC_LIBS),y) 19OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 20else ifeq ($(BR2_SHARED_STATIC_LIBS),y) 21OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 22else ifeq ($(BR2_SHARED_LIBS),y) 23OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF 24endif 25 26OPENTRACING_CPP_CONF_OPTS += -DENABLE_LINTING=OFF 27 28$(eval $(cmake-package)) 29