Suppress unit tests and integtests warning for Mac 10.11
This commit is contained in:
parent
5da7290242
commit
faa170b40d
|
@ -77,7 +77,7 @@ if (UNIX)
|
||||||
|
|
||||||
# warnings as errors:
|
# warnings as errors:
|
||||||
# we have a problem with people checking in code with warnings.
|
# 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)
|
if (NOT APPLE)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||||
|
|
Loading…
Reference in New Issue