From 674e0c46cd8567768502e03dce31578c10a3d5b5 Mon Sep 17 00:00:00 2001 From: Leopold Palomo-Avellaneda Date: Wed, 2 Feb 2022 14:54:43 +0100 Subject: [PATCH] Drop CXX standards logcxx patch --- tf/CMakeLists.txt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tf/CMakeLists.txt b/tf/CMakeLists.txt index 8a919682..b5a74532 100644 --- a/tf/CMakeLists.txt +++ b/tf/CMakeLists.txt @@ -1,18 +1,6 @@ cmake_minimum_required(VERSION 3.0.2) project(tf) -include(CheckCXXCompilerFlag) -unset(COMPILER_SUPPORTS_CXX11 CACHE) -if(MSVC) - # https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version - # MSVC has c++14 enabled by default, no need to specify c++11 -else() - check_cxx_compiler_flag(-std=c++11 COMPILER_SUPPORTS_CXX11) - if(COMPILER_SUPPORTS_CXX11) - add_compile_options(-std=c++11) - endif() -endif() - find_package(catkin REQUIRED COMPONENTS angles geometry_msgs