From faa170b40dbc152123b39a29ec63424f83841baa Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Tue, 13 Oct 2015 15:19:44 -0700 Subject: [PATCH] Suppress unit tests and integtests warning for Mac 10.11 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00cc1596..618902dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ if (UNIX) # warnings as errors: # we have a problem with people checking in code with warnings. - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef") if (NOT APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")