meta-openembedded/meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb
Alper Ak d783283245
mbpoll: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:3 (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-08 23:40:32 -07:00

16 lines
727 B
BlitzBasic

SUMMARY = "Command line utility to communicate with ModBus slave (RTU or TCP)"
DESCRIPTION = "mbpoll can: read discrete inputs; read and write binary outputs \
(coil); read input registers; read and write output registers (holding register). \
The reading and writing registers may be in decimal, hexadecimal or floating single \
precision."
LICENSE = "GPL-3.0-only"
HOMEPAGE = "https://github.com/epsilonrt/mbpoll"
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
DEPENDS = "libmodbus (>=3.1.4)"
SRC_URI = "git://github.com/epsilonrt/mbpoll;protocol=https;branch=master \
file://0001-allow-build-with-cmake-4.patch"
SRCREV = "a0bd6c08d3d15b086f2104477295c0705aed366a"
inherit pkgconfig cmake