Removed -Wdocumentation compiler flag for clang
authorkhizmax <libcds.dev@gmail.com>
Mon, 16 Jan 2017 18:42:48 +0000 (21:42 +0300)
committerkhizmax <libcds.dev@gmail.com>
Mon, 16 Jan 2017 18:42:48 +0000 (21:42 +0300)
CMakeLists.txt

index 6beb15a..bede664 100644 (file)
@@ -107,10 +107,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
     endif()
 endif()
 
-if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdocumentation")
-endif()
-
 set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
 
 message("Build type -- ${CMAKE_BUILD_TYPE}")