Commit e7fece2f authored by Jonas Jelten's avatar Jonas Jelten 🥕
Browse files

include eigen as system header

so warnings are swallowed
parent 279c8f72
Pipeline #648024 passed with stages
in 23 minutes and 31 seconds
......@@ -104,7 +104,9 @@ if(ELSA_MASTER_PROJECT)
add_library(Eigen INTERFACE)
add_library(Eigen3::Eigen ALIAS Eigen)
target_include_directories(Eigen INTERFACE
target_include_directories(Eigen
SYSTEM # include with -isystem so many warnings are swallowed!
INTERFACE
$<BUILD_INTERFACE:${eigen3_SOURCE_DIR}>
$<INSTALL_INTERFACE:${EIGEN_BUNDLED_INSTALLDIR}>
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment