mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Fix: | CMake Error at CMakeLists.txt:2 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | to tell CMake that the project requires at least <min> but has been updated | to work with policies introduced by <max> or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 lines
921 B
BlitzBasic
30 lines
921 B
BlitzBasic
SUMMARY = "FlatCC FlatBuffers in C for C"
|
|
DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
|
|
given a FlatBuffer schema file."
|
|
HOMEPAGE = "https://github.com/dvidelabs/flatcc"
|
|
SECTION = "devel/lib"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
|
|
|
|
PV = "0.6.2+git"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
|
|
file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \
|
|
file://0002-allow-build-with-cmake-4.patch \
|
|
"
|
|
SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
|
|
|
|
inherit cmake
|
|
|
|
# Enable installation for target
|
|
# Disable tests as is not possible to execute with cross-compilation
|
|
EXTRA_OECMAKE += " \
|
|
-DFLATCC_INSTALL=On \
|
|
-DFLATCC_TEST=Off \
|
|
-DFLATCC_ALLOW_WERROR=Off \
|
|
-DFLATCC_INSTALL_LIB=${baselib} \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|