From 244f1f61b65345ed9687656b5dfd168741b35b41 Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommmy.persson@liu.se> Date: Mon, 15 Feb 2021 22:56:41 +0100 Subject: [PATCH] Setting CMP0048 policy to NEW --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8e6e47..fd2aa94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,10 @@ cmake_minimum_required(VERSION 2.8.3) + +if (POLICY CMP0048) + cmake_policy(SET CMP0048 NEW) +endif (POLICY CMP0048) + + project(axis_imu) ## Compile as C++11, supported in ROS Kinetic and newer -- GitLab