mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-08 04:45:03 +08:00
#5074 Nuke -Werror. It's dumb right now
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
set(VERSION_MAJOR 1)
|
||||
set(VERSION_MINOR 8)
|
||||
set(VERSION_REV 8)
|
||||
set(VERSION_STAGE rc1)
|
||||
set(VERSION_STAGE rc1)
|
||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
@@ -74,11 +74,6 @@ endif()
|
||||
|
||||
# Depending on the platform, pass in the required defines.
|
||||
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)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user