mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
flatcc: Add patch for CMake 4+ compatibility
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>
This commit is contained in:
@@ -11,10 +11,10 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user