From 88c7f11d08e989f8a84ed6f00b45c9e455cc828d Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Sat, 4 Feb 2023 14:16:48 -0800 Subject: [PATCH] disabling Werror because of deprecation warnings from ceres in Ubuntu 22.10 --- fuse_graphs/CMakeLists.txt | 3 ++- fuse_optimizers/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fuse_graphs/CMakeLists.txt b/fuse_graphs/CMakeLists.txt index b81f46d5f..bbf723c8f 100644 --- a/fuse_graphs/CMakeLists.txt +++ b/fuse_graphs/CMakeLists.txt @@ -28,7 +28,8 @@ catkin_package( ########### ## Build ## ########### -add_compile_options(-Wall -Werror) +# disabling until deprecated ceres::Problem::Options::local_parameterization_ownership is resolved +add_compile_options(-Wall) # -Werror) ## fuse_graphs library add_library(${PROJECT_NAME} diff --git a/fuse_optimizers/CMakeLists.txt b/fuse_optimizers/CMakeLists.txt index 3bb31f6f7..fac581c53 100644 --- a/fuse_optimizers/CMakeLists.txt +++ b/fuse_optimizers/CMakeLists.txt @@ -28,7 +28,7 @@ catkin_package( ########### ## Build ## ########### -add_compile_options(-Wall -Werror) +add_compile_options(-Wall) # -Werror) ## fuse_optimizers library add_library(${PROJECT_NAME}