cmake 出现大量的警告 deprecated-declarations
只需要修改 CMakeLists.txt,增加下面的属性即可。 set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ")
只需要修改 CMakeLists.txt,增加下面的属性即可。 set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ")