mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
ipmctl : set a baseline policy version for cmake
Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1]. Set a baseline policy version for CMake using CMAKE_POLICY_VERSION_MINIMUM variable until upstream source implements the fix. [1] https://git.yoctoproject.org/poky/commit/?id=2c9a6b4a81b642fc3e6815aa83d1c9bafb56c7db Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
b4a10cc970
commit
16440b8339
|
|
@ -30,7 +30,9 @@ inherit cmake dos2unix
|
||||||
|
|
||||||
DEPENDS = "ndctl pkgconfig-native"
|
DEPENDS = "ndctl pkgconfig-native"
|
||||||
|
|
||||||
EXTRA_OECMAKE = "-DRELEASE=ON"
|
EXTRA_OECMAKE = "-DRELEASE=ON \
|
||||||
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||||
|
"
|
||||||
|
|
||||||
do_configure:prepend() {
|
do_configure:prepend() {
|
||||||
for dir in BaseTools MdeModulePkg MdePkg ShellPkg ; do
|
for dir in BaseTools MdeModulePkg MdePkg ShellPkg ; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user