编译Sophus时cmake出现警告deprecated-declarations
只需要修改 CMakeLists.txt,增加下面的属性即可。
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ")
这样make时将不再提示这个弃用warning
只需要修改 CMakeLists.txt,增加下面的属性即可。
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ")
这样make时将不再提示这个弃用warning