Skip to content

Commit

Permalink
suppress unused for eigen lib
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang committed Nov 6, 2023
1 parent 143a41f commit 26b716a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext_libs/ext_libs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ else()
target_include_directories(eigen SYSTEM INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/eigen>)
endif()

# Suppress specific warnings for Eigen
target_compile_options(eigen INTERFACE
$<$<CXX_COMPILER_ID:GNU>:-Wno-unused-but-set-variable>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-but-set-variable>
)

add_library(sse2neon INTERFACE)
if(VW_SSE2NEON_SYS_DEP)
find_path(SSE2NEON_INCLUDE_DIRS "sse2neon/sse2neon.h")
Expand Down

0 comments on commit 26b716a

Please sign in to comment.