Skip to content

Commit 7c5e5c3

Browse files
committed
Remove doc check under maintainer mode
1 parent c682d1a commit 7c5e5c3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -603,14 +603,6 @@ if(OTELCPP_MAINTAINER_MODE)
603603
add_compile_options(-Werror)
604604
add_compile_options(-Wextra)
605605

606-
# Check if the compiler supports -Wdocumentation
607-
include(CheckCXXCompilerFlag)
608-
check_cxx_compiler_flag("-Wdocumentation" CLANG_SUPPORTS_DOCUMENTATION)
609-
if(CLANG_SUPPORTS_DOCUMENTATION)
610-
message(STATUS "Adding -Wdocumentation flag for Clang")
611-
add_compile_options(-Wdocumentation)
612-
endif()
613-
614606
# Tested with Clang 11.0 on github.
615607
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0)
616608
message(STATUS "Building with additional warnings for clang.")

0 commit comments

Comments
 (0)