Files
meta-openembedded/meta-filesystems/recipes-support/physfs/physfs_3.0.2.bb
Alper Ak 202e260573 physfs: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:12 (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-10 10:46:23 -07:00

17 lines
598 B
BlitzBasic

SUMMARY = "PhysicsFS is a library to provide abstract access to various archives"
HOMEPAGE = "http://icculus.org/physfs"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=96801882d1120239dcafbf888e821a6e"
DEPENDS = "readline zlib"
inherit cmake
PE = "1"
SRC_URI = "http://icculus.org/${BPN}/downloads/${BP}.tar.bz2 \
file://0001-allow-build-with-cmake-4.patch"
SRC_URI[md5sum] = "dc751294aaf59d1359bbe34e693d1d87"
SRC_URI[sha256sum] = "304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863"
EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"