Skip to content

Commit

Permalink
Upgrade Eigen to latest master (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Dec 16, 2024
1 parent e5e2f10 commit b8dfe02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
5 changes: 4 additions & 1 deletion cmake/modules/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b8dfe02

Please sign in to comment.