Skip to content

Commit

Permalink
Not checking for C++11 on fast-discovery-server CMakeLists.txt (#3891)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Sep 28, 2023
1 parent df18056 commit 0a13d35
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tools/fds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
###############################################################################
Expand Down

0 comments on commit 0a13d35

Please sign in to comment.