diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1c41a7f8..26137c8c7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: # C++ - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v18.1.5 + rev: v18.1.6 hooks: - id: clang-format diff --git a/README.md b/README.md index 26bf1c910..3d3ea8025 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ Linux/Mac: [![CI](https://github.com/RainerKuemmerle/g2o/actions/workflows/ci.ym Windows: [![win64](https://github.com/RainerKuemmerle/g2o/actions/workflows/windows.yml/badge.svg?branch=master)](https://github.com/RainerKuemmerle/g2o/actions/workflows/windows.yml) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/280c5eed95ed4059ad5d003d59e72704)](https://app.codacy.com/gh/RainerKuemmerle/g2o/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit) +

+ g2o logo +

+ g2o is an open-source C++ framework for optimizing graph-based nonlinear error functions. g2o has been designed to be easily extensible to a wide range of problems and a new problem typically can be specified in a few lines of code. diff --git a/unit_test/CMakeLists.txt b/unit_test/CMakeLists.txt index 7d68b73e2..458f97156 100644 --- a/unit_test/CMakeLists.txt +++ b/unit_test/CMakeLists.txt @@ -6,6 +6,8 @@ FetchContent_Declare( ) # For Windows: Prevent overriding the parent project's compiler/linker settings set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) +# Prevent installing gtest/gmock +set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) FetchContent_MakeAvailable(googletest) set(UNITTEST_BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")