From f6dadcf1f1727b087ac28fdd98d02356695d6a66 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 24 Oct 2018 12:06:00 +0800 Subject: [PATCH] Revert previous changes --- googletest/cmake/internal_utils.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake index 2e6b2393..98674367 100644 --- a/googletest/cmake/internal_utils.cmake +++ b/googletest/cmake/internal_utils.cmake @@ -98,10 +98,6 @@ macro(config_compiler_and_linker) set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1") set(cxx_no_exception_flags "-EHs-c- -D_HAS_EXCEPTIONS=0") set(cxx_no_rtti_flags "-GR-") - - if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") - set(cxx_base_flags "${cxx_base_flags} -Wno-unknown-argument") - endif() elseif (CMAKE_COMPILER_IS_GNUCXX) set(cxx_base_flags "-Wall -Wshadow -Werror") if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)