mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
sqlite-orm: Upgrade 1.5 -> 1.9.1 to allow CMake 4+ compatibility
- Dropped the patch as the issue is already fixed in the newer version. - The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum. - Updated CMake flag to disable tests according to the new version. Changelog: https://github.com/fnc12/sqlite_orm/compare/v1.5...v1.9.1 https://github.com/fnc12/sqlite_orm/releases Fix: | CMake Error at CMakeLists.txt:1 (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:
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "SQLite ORM light header only library for modern C++"
|
||||
HOMEPAGE = "https://github.com/fnc12/sqlite_orm"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DEPENDS += "sqlite3"
|
||||
|
||||
SRCREV = "5f1a2ce84a3d72711b4f0a440fdaba977868ae67"
|
||||
SRC_URI = " \
|
||||
git://github.com/fnc12/sqlite_orm;protocol=https;branch=master \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF -DLIB_INSTALL_DIR=${libdir} \
|
||||
-DCMAKE_INSTALL_DIR=${libdir}/cmake \
|
||||
-DPKGCONFIG_INSTALL_DIR=${libdir}/pkgconfig"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/cmake/${BPN}"
|
||||
|
||||
# Header-only library
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
|
||||
Reference in New Issue
Block a user