summaryrefslogtreecommitdiffstats
path: root/googletest/cmake
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-02-21 18:14:17 (GMT)
committerGennadiy Civil <misterg@google.com>2019-02-21 18:14:17 (GMT)
commit7203f37f57e4fef0d77670098aabc186309eb874 (patch)
treea606db7efea99c378dbc8aac23042fdbf0699a02 /googletest/cmake
parent1411d27a944dc1997162c61dbcc0881cd56efdb1 (diff)
parentfcf59ca7bf6346ec08ed8591973517cdadc8e342 (diff)
downloadgoogletest-7203f37f57e4fef0d77670098aabc186309eb874.zip
googletest-7203f37f57e4fef0d77670098aabc186309eb874.tar.gz
googletest-7203f37f57e4fef0d77670098aabc186309eb874.tar.bz2
Merge pull request #2137 from ngie-eign:clang-ignore-sign-conversion
PiperOrigin-RevId: 235012245
Diffstat (limited to 'googletest/cmake')
-rw-r--r--googletest/cmake/internal_utils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake
index 1909faf..3023904 100644
--- a/googletest/cmake/internal_utils.cmake
+++ b/googletest/cmake/internal_utils.cmake
@@ -78,7 +78,7 @@ macro(config_compiler_and_linker)
# http://stackoverflow.com/questions/3232669 explains the issue.
set(cxx_base_flags "${cxx_base_flags} -wd4702")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- set(cxx_base_flags "-Wall -Wshadow -Werror")
+ set(cxx_base_flags "-Wall -Wshadow -Werror -Wno-error=sign-conversion")
set(cxx_exception_flags "-fexceptions")
set(cxx_no_exception_flags "-fno-exceptions")
elseif (CMAKE_COMPILER_IS_GNUCXX)