meta-openembedded/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb
Alper Ak d88665da77
libcyusbserial: Add patch for CMake 4+ compatibility
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>
2025-07-09 13:35:20 -07:00

21 lines
748 B
BlitzBasic

SUMMARY = "Enable userspace control of Cypress USB-Serial bridge devices"
HOMEPAGE = "https://github.com/cyrozap/libcyusbserial"
BUGTRACKER = "https://github.com/cyrozap/libcyusbserial/issues"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING.LESSER.txt;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "libusb udev"
PV = "1.0.0+git"
SRCREV = "655e2d544183d094f0e2d119c7e0c6206a0ddb3f"
SRC_URI = "git://github.com/cyrozap/${BPN}.git;branch=master;protocol=https \
file://0001-CMakeLists.txt-don-t-fall-back-CMAKE_INSTALL_LIBDIR-.patch \
file://0001-Fix-gcc-15-incompatible-pointer-types-error.patch \
file://0002-allow-build-with-cmake-4.patch \
"
inherit cmake
PACKAGES =+ "${PN}-utils"
FILES:${PN}-utils = "${bindir}/*"