aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/internal_utils.cmake
diff options
context:
space:
mode:
authorjgm <jgm@google.com>2012-04-02 17:41:03 +0000
committerjgm <jgm@google.com>2012-04-02 17:41:03 +0000
commit9a56024c9a5795062492cc15813800378e62e0ab (patch)
tree09678c573e0b232ae575dec4c3b01908eaf62819 /cmake/internal_utils.cmake
parentf0b86fc3b0f625e1db84f3632cb37bd9eae6ae19 (diff)
downloadgoogletest-9a56024c9a5795062492cc15813800378e62e0ab.tar.gz
googletest-9a56024c9a5795062492cc15813800378e62e0ab.tar.bz2
googletest-9a56024c9a5795062492cc15813800378e62e0ab.zip
Added support for platforms where pthread_t is a struct rather than an integral
type.
Diffstat (limited to 'cmake/internal_utils.cmake')
-rw-r--r--cmake/internal_utils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/internal_utils.cmake b/cmake/internal_utils.cmake
index 0561db45..8cb21894 100644
--- a/cmake/internal_utils.cmake
+++ b/cmake/internal_utils.cmake
@@ -79,7 +79,8 @@ macro(config_compiler_and_linker)
# 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")
+ set(cxx_strict_flags
+ "-Wextra -Wno-unused-parameter -Wno-missing-field-initializers")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
set(cxx_exception_flags "-features=except")
# Sun Pro doesn't provide macros to indicate whether exceptions and