From b8dfe029c8f47dc17d36e9948cf7b4c5c7545ece Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Mon, 16 Dec 2024 14:04:42 -0800 Subject: [PATCH] Upgrade Eigen to latest master (#666) --- CMakeLists.txt | 4 ++-- cmake/modules/CompilerFlags.cmake | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d90fac9..69bbffa2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,8 +104,8 @@ if(NOT USE_SYSTEM_EIGEN) fetchcontent_declare( Eigen3 GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git - # master on 2024-05-22 - GIT_TAG c4d84dfddc9f9edef0fdbe7cf9966d2f4a303198 + # master on 2024-12-16 + GIT_TAG c01ff45312582b2ea896ee307a49165ca4790332 ) fetchcontent_makeavailable(Eigen3) else() diff --git a/cmake/modules/CompilerFlags.cmake b/cmake/modules/CompilerFlags.cmake index bb3ebbc6..bab9de4d 100644 --- a/cmake/modules/CompilerFlags.cmake +++ b/cmake/modules/CompilerFlags.cmake @@ -16,7 +16,10 @@ macro(compiler_flags target) ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL "12" ) - target_compile_options(${target} PRIVATE -Wno-array-bounds) + target_compile_options( + ${target} + PRIVATE -Wno-array-bounds -Wno-stringop-overflow + ) endif() target_compile_features(${target} PUBLIC cxx_std_23)