From 0a13d355a5e9fd3281ebda2985a2d24f218351ba Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Thu, 28 Sep 2023 16:43:48 +0200 Subject: [PATCH] Not checking for C++11 on fast-discovery-server CMakeLists.txt (#3891) Signed-off-by: Miguel Company --- tools/fds/CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/fds/CMakeLists.txt b/tools/fds/CMakeLists.txt index 20421b47738..7dff56c33d5 100644 --- a/tools/fds/CMakeLists.txt +++ b/tools/fds/CMakeLists.txt @@ -24,15 +24,6 @@ if(NOT fastrtps_FOUND) find_package(fastrtps REQUIRED) endif() -# Check C++11 -include(CheckCXXCompilerFlag) -if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") - check_cxx_compiler_flag(-std=c++11 SUPPORTS_CXX11) - if(NOT SUPPORTS_CXX11) - message(FATAL_ERROR "Compiler doesn't support C++11") - endif() -endif() - ############################################################################### # Compilation ###############################################################################