From 29efd87a69a3cf281afa38b1beebe9e23e6fb7c8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 1 Dec 2015 12:26:37 -0500 Subject: [PATCH] Suppress all warnings from third-party projects. --- third_party/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 1c9241c49..9fe4176cf 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -1,3 +1,6 @@ +# Suppress all warnings from third-party projects. +set_property(DIRECTORY APPEND PROPERTY COMPILE_OPTIONS -w) + if (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/gmock-1.7.0) add_subdirectory(gmock-1.7.0) endif()