################################################################################
#
# libabseil-cpp
#
################################################################################

LIBABSEIL_CPP_VERSION = 20260107.1
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 = \
	-DCMAKE_CXX_STANDARD=17 \
	-DABSL_ENABLE_INSTALL=ON \
	-DABSL_USE_GOOGLETEST_HEAD=OFF

HOST_LIBABSEIL_CPP_CONF_OPTS = \
	-DCMAKE_CXX_STANDARD=17 \
	-DABSL_ENABLE_INSTALL=ON \
	-DABSL_USE_GOOGLETEST_HEAD=OFF

$(eval $(cmake-package))
$(eval $(host-cmake-package))
