#5074 Nuke -Werror. It's dumb right now
This commit is contained in:
parent
4b913b5599
commit
2643cea67b
|
@ -18,7 +18,7 @@
|
||||||
set(VERSION_MAJOR 1)
|
set(VERSION_MAJOR 1)
|
||||||
set(VERSION_MINOR 8)
|
set(VERSION_MINOR 8)
|
||||||
set(VERSION_REV 8)
|
set(VERSION_REV 8)
|
||||||
set(VERSION_STAGE rc1)
|
set(VERSION_STAGE rc1)
|
||||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
|
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
@ -74,11 +74,6 @@ endif()
|
||||||
|
|
||||||
# Depending on the platform, pass in the required defines.
|
# Depending on the platform, pass in the required defines.
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
|
|
||||||
# warnings as errors:
|
|
||||||
# we have a problem with people checking in code with warnings.
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedefs")
|
|
||||||
|
|
||||||
if (NOT APPLE)
|
if (NOT APPLE)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue