File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ repos:
1111
1212# C++
1313- repo : https://github.com/pre-commit/mirrors-clang-format
14- rev : v21.1.0
14+ rev : v21.1.2
1515 hooks :
1616 - id : clang-format
1717 types_or : [c++, c, cuda]
1818
1919# python
2020- repo : https://github.com/pycqa/isort
21- rev : 6 .0.1
21+ rev : 7 .0.0
2222 hooks :
2323 - id : isort
24- - repo : https://github.com/psf/black
25- rev : 25.1 .0
24+ - repo : https://github.com/psf/black-pre-commit-mirror
25+ rev : 25.9 .0
2626 hooks :
2727 - id : black
Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ endif()
107107
108108# For building the CHOLMOD based solvers
109109option (G2O_USE_CHOLMOD "Build g2o with CHOLMOD support" ON )
110- find_package (SuiteSparse )
111- if (G2O_USE_CHOLMOD AND SuiteSparse_CHOLMOD_FOUND )
110+ find_package (CHOLMOD )
111+ if (G2O_USE_CHOLMOD AND TARGET SuiteSparse::CHOLMOD )
112112 message (STATUS "Enable support for Cholmod" )
113113 set (CHOLMOD_FOUND TRUE )
114114else ()
@@ -435,7 +435,9 @@ endif(MSVC)
435435set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS } ${g2o_CXX_FLAGS} " )
436436set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS } ${g2o_C_FLAGS} " )
437437
438- find_package (Eigen3 3.3 REQUIRED )
438+ # Find Eigen3
439+ # See https://eigen.tuxfamily.org/dox/TopicCMakeGuide.html for details
440+ find_package (Eigen3 REQUIRED NO_MODULE )
439441find_package (nlohmann_json 3.3.0 )
440442
441443# Generate config.h
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ following packages.
106106- spdlog < https://github.com/gabime/spdlog >
107107- suitesparse < http://faculty.cse.tamu.edu/davis/suitesparse.html >
108108- Qt5 < http://qt-project.org >
109- - libQGLViewer < http ://www.libqglviewer.com >
109+ - libQGLViewer < https ://gillesdebunne.github.io/libQGLViewer/ >
110110- JSON for Modern C++ < https://github.com/nlohmann/json >
111111
112112On Ubuntu / Debian these dependencies are resolved by installing the
You can’t perform that action at this time.
0 commit comments