tt-metal: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-11-07 04:17:56 -03:00
parent 104efa8072
commit c500a1c06a

View File

@@ -46,6 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "FETCHCONTENT_FULLY_DISCONNECTED" true)
(lib.cmakeBool "CPM_USE_LOCAL_PACKAGES" true)
(lib.cmakeFeature "VERSION_NUMERIC" finalAttrs.version)
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
preConfigure = ''