b3a462e85a
raise the minimum gcc to 5 as stated in release notes for 3.1.0 [0]. [0] https://github.com/catchorg/Catch2/releases/tag/v3.1.0 Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
731 B
Makefile
23 lines
731 B
Makefile
################################################################################
|
|
#
|
|
# catch2
|
|
#
|
|
################################################################################
|
|
|
|
CATCH2_VERSION = 3.3.1
|
|
CATCH2_SITE = $(call github,catchorg,Catch2,v$(CATCH2_VERSION))
|
|
CATCH2_INSTALL_STAGING = YES
|
|
CATCH2_INSTALL_TARGET = NO
|
|
CATCH2_LICENSE = BSL-1.0
|
|
CATCH2_LICENSE_FILES = LICENSE.txt
|
|
CATCH2_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
# We force building a static library only as building a dynamic
|
|
# library is not really supported officially:
|
|
# https://github.com/catchorg/Catch2/blob/devel/docs/faq.md#can-i-compile-catch2-into-a-dynamic-library
|
|
CATCH2_CONF_OPTS = \
|
|
-DCATCH_INSTALL_DOCS=OFF \
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
|
|
$(eval $(cmake-package))
|