cloudcompare: fix build with cmake 4 (#454578)

This commit is contained in:
Niklas Hambüchen
2025-10-22 22:53:08 +00:00
committed by GitHub
+3
View File
@@ -91,6 +91,9 @@ stdenv.mkDerivation rec {
"-DPLUGIN_STANDARD_QRANSAC_SD=OFF" # not compatible with GPL, broken on non-x86
"-DPLUGIN_STANDARD_QSRA=ON"
"-DPLUGIN_STANDARD_QCLOUDLAYERS=ON"
# Fix the build with CMake 4, by overriding the minimum version globally, as support for < 3.5 was removed
# Ideally this can be removed at some time, but there are a lot of dependencies (e.g. plugins) which have a lower minimum version configured.
(lib.strings.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
];
dontWrapGApps = true;