mirror of
https://github.com/MAPIRlab/rf2o_laser_odometry.git
synced 2023-04-06 19:28:55 +08:00
Merge branch 'master' into mrpt_free
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.3)
|
PROJECT(rf2o_laser_odometry)
|
||||||
project(rf2o_laser_odometry)
|
|
||||||
set (CMAKE_CXX_STANDARD 14) # Require C++14
|
CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
|
||||||
|
# Require C++17
|
||||||
|
|
||||||
|
if(${CMAKE_VERSION} VERSION_LESS "3.8.0")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
|
||||||
|
else()
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
endif()
|
||||||
|
|
||||||
## Find catkin macros and libraries
|
## Find catkin macros and libraries
|
||||||
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
|
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
|
||||||
@@ -17,7 +24,6 @@ find_package(catkin REQUIRED COMPONENTS
|
|||||||
|
|
||||||
## System dependencies are found with CMake's conventions
|
## System dependencies are found with CMake's conventions
|
||||||
find_package(Boost REQUIRED COMPONENTS system)
|
find_package(Boost REQUIRED COMPONENTS system)
|
||||||
|
|
||||||
find_package(Eigen3 REQUIRED)
|
find_package(Eigen3 REQUIRED)
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
|
|||||||
Reference in New Issue
Block a user