Skip to content

Commit

Permalink
Drop CXX standards logcxx patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lepalom authored and v4hn committed Aug 18, 2023
1 parent 224e54e commit 674e0c4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 674e0c4

Please sign in to comment.