Suppress unit tests and integtests warning for Mac 10.11

This commit is contained in:
Jerry (Xinyu Hou) 2015-10-13 15:19:44 -07:00
parent 5da7290242
commit faa170b40d
1 changed files with 1 additions and 1 deletions

View File

@ -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")