summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-01-16 14:23:45 -0500
committerNat Goodspeed <nat@lindenlab.com>2019-01-16 14:23:45 -0500
commit1a1465dab94a2829cedb4ee4cd0c0169cea0fdeb (patch)
treefaf44e7a84a3211cc4ca42c78d5d5feca68c3ee4
parenta3b3ad727f53aa280ffbcc1b61ccfbb48e988708 (diff)
Re-enable warnings-as-errors (-Werror) in Mac builds.
-rw-r--r--indra/cmake/00-Common.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 40fc706a99..03da30649a 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -151,6 +151,8 @@ endif (LINUX)
if (DARWIN)
+ # Warnings should be fatal -- thanks, Nicky Perian, for spotting reversed default
+ set(CLANG_DISABLE_FATAL_WARNINGS OFF)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}")
set(DARWIN_extra_cstar_flags "-Wno-unused-local-typedef -Wno-deprecated-declarations")