diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-07-26 21:59:50 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-07-26 21:59:50 (GMT) |
commit | 7c598c4f1a44fdda5f97587484c85bef9e93fa98 (patch) | |
tree | a393db9c0cebf32d9a62a2a95e8ade4f5750c62c /cmake | |
parent | 598fe2288e8e102d6e6748d496a8dcd59fa5f8a8 (diff) | |
download | googletest-7c598c4f1a44fdda5f97587484c85bef9e93fa98.zip googletest-7c598c4f1a44fdda5f97587484c85bef9e93fa98.tar.gz googletest-7c598c4f1a44fdda5f97587484c85bef9e93fa98.tar.bz2 |
Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad Losev).
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/internal_utils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/internal_utils.cmake b/cmake/internal_utils.cmake index 0954e2d..68b7978 100644 --- a/cmake/internal_utils.cmake +++ b/cmake/internal_utils.cmake @@ -54,7 +54,7 @@ elseif (CMAKE_COMPILER_IS_GNUCXX) # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI # explicitly. set(cxx_no_rtti_flags "-fno-rtti -DGTEST_HAS_RTTI=0") - set(cxx_strict_flags "-Wextra -Wswitch-default") + set(cxx_strict_flags "-Wextra") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "SunPro") set(cxx_exception_flags "-features=except") # Sun Pro doesn't provide macros to indicate whether exceptions and |