Skip to content

Commit

Permalink
python3Packages.opensfm: fix build for glog 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
superherointj committed Oct 17, 2024
1 parent 7d47e40 commit 54b1daf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/opensfm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ buildPythonPackage rec {
./fix-scripts.patch
];
postPatch = ''
substituteInPlace opensfm/src/CMakeLists.txt \
--replace-fail "####### Find Dependencies #######" \
"####### Find Dependencies #######
add_compile_definitions(GLOG_USE_GLOG_EXPORT)"
rm opensfm/src/cmake/FindGlog.cmake
rm opensfm/src/cmake/FindGflags.cmake
Expand Down

0 comments on commit 54b1daf

Please sign in to comment.