1f9e65b2f3
Don't override GLOG_DEPENDENCIES in a conditional Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23 lines
596 B
Makefile
23 lines
596 B
Makefile
################################################################################
|
|
#
|
|
# glog
|
|
#
|
|
################################################################################
|
|
|
|
GLOG_VERSION = 0.4.0
|
|
GLOG_SITE = $(call github,google,glog,v$(GLOG_VERSION))
|
|
GLOG_INSTALL_STAGING = YES
|
|
GLOG_LICENSE = BSD-3-Clause
|
|
GLOG_LICENSE_FILES = COPYING
|
|
GLOG_CONF_OPTS = \
|
|
$(if $(BR2_TOOLCHAIN_HAS_THREADS),-DWITH_THREADS=ON, -DWITH_THREADS=OFF)
|
|
|
|
ifeq ($(BR2_PACKAGE_GFLAGS),y)
|
|
GLOG_DEPENDENCIES += gflags
|
|
GLOG_CONF_OPTS += -DWITH_GFLAGS=ON
|
|
else
|
|
GLOG_CONF_OPTS += -DWITH_GFLAGS=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|