From 963536303329280404100b3477fd5ebb7ca0b5fe Mon Sep 17 00:00:00 2001 From: Piotr Rudol <piotr.rudol@liu.se> Date: Sun, 21 Mar 2021 18:04:40 +0100 Subject: [PATCH] fixed policy --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ee5685..980b9e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,13 @@ -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) + +if (POLICY CMP0048) + cmake_policy(SET CMP0048 NEW) +endif (POLICY CMP0048) + project(lrs_common) + + add_compile_options(-std=c++11) ## Find catkin macros and libraries -- GitLab