[3dprinter-general] Bug#1125587: slic3r-prusa: FTBFS with CMake 4.2
Gregor Riepl
onitake at gmail.com
Sat Jan 17 14:32:28 GMT 2026
There don't seem to be any obvious incompatibilities in PrusaSlicer's cmake files.
The suggested workaround with declaring cmake 3.5 (or better 3.10) compatibility should be fine:
diff --git a/debian/rules b/debian/rules
index 12525c88..c6643aef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,8 @@ override_dh_auto_configure:
-DOPENVDB_FIND_MODULE_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/OpenVDB \
-DSLIC3R_FHS=1 \
-DSLIC3R_WX_STABLE=1 \
- -DSLIC3R_GTK=3
+ -DSLIC3R_GTK=3 \
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.10
override_dh_auto_install:
dh_auto_install --destdir=debian/prusa-slicer
More information about the 3dprinter-general
mailing list