From bdeaee67a4c81c3034e31a2f95b500f1e65e24cd Mon Sep 17 00:00:00 2001 From: 12345qiupeng Date: Fri, 12 Jul 2024 15:20:35 +0800 Subject: [PATCH] feat:fix z to zero --- cartographer_ros/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cartographer_ros/CMakeLists.txt b/cartographer_ros/CMakeLists.txt index a7e483c..27514f9 100644 --- a/cartographer_ros/CMakeLists.txt +++ b/cartographer_ros/CMakeLists.txt @@ -16,6 +16,10 @@ cmake_minimum_required(VERSION 2.8.12) # Ships with Ubuntu 14.04 (Trusty) project(cartographer_ros) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + + set(PACKAGE_DEPENDENCIES cartographer_ros_msgs geometry_msgs