msgpack.mk 583 B

123456789101112131415161718
  1. ################################################################################
  2. #
  3. # msgpack
  4. #
  5. ################################################################################
  6. MSGPACK_VERSION = 3.3.0
  7. MSGPACK_SITE = https://github.com/msgpack/msgpack-c/releases/download/cpp-$(MSGPACK_VERSION)
  8. MSGPACK_LICENSE = BSL-1.0
  9. MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt
  10. MSGPACK_INSTALL_STAGING = YES
  11. MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF
  12. ifeq ($(BR2_STATIC_LIBS),y)
  13. MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF
  14. endif
  15. $(eval $(cmake-package))