tt-metal: fix build with cmake4 (#459391)

This commit is contained in:
Tristan Ross
2025-11-07 18:06:26 +00:00
committed by GitHub
+1
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 = ''