mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:21:35 +08:00
cmake: ignore deprecated warnings of Eigen
This commit is contained in:
@@ -71,4 +71,8 @@ set(SRCS
|
|||||||
mathlib.cpp
|
mathlib.cpp
|
||||||
)
|
)
|
||||||
add_definitions(-std=c++11 -Wall -Werror)
|
add_definitions(-std=c++11 -Wall -Werror)
|
||||||
|
|
||||||
|
# Eigen throws deprecated warnings
|
||||||
|
add_definitions(-Wno-deprecated-declarations)
|
||||||
|
|
||||||
add_library(ecl SHARED ${SRCS})
|
add_library(ecl SHARED ${SRCS})
|
||||||
|
|||||||
Reference in New Issue
Block a user