2020-07-21 23:45:21 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libabseil-cpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-21 18:50:01 +02:00
|
|
|
LIBABSEIL_CPP_VERSION = 20200923.2
|
2020-07-21 23:45:21 +02:00
|
|
|
LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION))
|
|
|
|
LIBABSEIL_CPP_LICENSE = Apache-2.0
|
|
|
|
LIBABSEIL_CPP_LICENSE_FILES = LICENSE
|
|
|
|
LIBABSEIL_CPP_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
LIBABSEIL_CPP_CONF_OPTS = \
|
2020-10-30 12:25:04 +01:00
|
|
|
-DCMAKE_CXX_STANDARD=11 \
|
2020-07-21 23:45:21 +02:00
|
|
|
-DABSL_ENABLE_INSTALL=ON \
|
|
|
|
-DABSL_USE_GOOGLETEST_HEAD=OFF \
|
|
|
|
-DABSL_RUN_TESTS=OFF
|
|
|
|
|
|
|
|
HOST_LIBABSEIL_CPP_CONF_OPTS = \
|
2020-10-30 12:25:04 +01:00
|
|
|
-DCMAKE_CXX_STANDARD=11 \
|
2020-07-21 23:45:21 +02:00
|
|
|
-DABSL_ENABLE_INSTALL=ON \
|
|
|
|
-DABSL_USE_GOOGLETEST_HEAD=OFF \
|
|
|
|
-DABSL_RUN_TESTS=OFF
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|
|
|
|
$(eval $(host-cmake-package))
|