Unverified Commit 05705a9a authored by Niklas Hambüchen's avatar Niklas Hambüchen Committed by GitHub
Browse files

cloudcompare: fix build with cmake 4 (#454578)

parents a72525e8 92a97705
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;