diff --git a/rslidar_driver/CMakeLists.txt b/rslidar_driver/CMakeLists.txt index c8d8fb0..fcb1159 100644 --- a/rslidar_driver/CMakeLists.txt +++ b/rslidar_driver/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(rslidar_driver) -add_compile_options(-std=c++11) +add_compile_options(-std=c++14) set(CMAKE_BUILD_TYPE Release)#RelWithDebInfo ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) diff --git a/rslidar_pointcloud/CMakeLists.txt b/rslidar_pointcloud/CMakeLists.txt index 21bde31..0bc98ea 100644 --- a/rslidar_pointcloud/CMakeLists.txt +++ b/rslidar_pointcloud/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(rslidar_pointcloud) -add_compile_options(-std=c++11) +add_compile_options(-std=c++14) set(CMAKE_BUILD_TYPE Release)#RelWithDebInfo set(${PROJECT_NAME}_CATKIN_DEPS angles