Commit 38bae9be authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.opensfm: fix build

parent ca315c87
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -57,6 +57,9 @@ buildPythonPackage rec {
  ];

  postPatch = ''
    substituteInPlace opensfm/src/CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"

    rm opensfm/src/cmake/FindGlog.cmake
    rm opensfm/src/cmake/FindGflags.cmake