4706e04e3c
Drop unrecognized variables: CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_CXX_COMPILER_FORCED DISABLE_STATIC ENABLE_SHARED Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
28 lines
746 B
Makefile
28 lines
746 B
Makefile
################################################################################
|
|
#
|
|
# libsolv
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOLV_VERSION = 0.7.22
|
|
LIBSOLV_SITE = $(call github,openSUSE,libsolv,$(LIBSOLV_VERSION))
|
|
LIBSOLV_LICENSE = BSD-3-Clause
|
|
LIBSOLV_LICENSE_FILES = LICENSE.BSD
|
|
LIBSOLV_CPE_ID_VENDOR = opensuse
|
|
LIBSOLV_INSTALL_STAGING = YES
|
|
LIBSOLV_DEPENDENCIES = zlib
|
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=ON
|
|
else
|
|
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=OFF
|
|
else
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|