From b8826ce0ebd85696cb4440eb886e22fda94abf5d Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 16 Jan 2017 21:42:48 +0300 Subject: [PATCH 1/1] Removed -Wdocumentation compiler flag for clang --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6beb15a7..bede664a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}") -- 2.34.1