diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-10-02 14:12:34 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-10-02 14:12:34 -0700 |
commit | 844d017f4369dd1430493aba78b8c6d823c24f20 (patch) | |
tree | f954b6bed5c8b01588d1c41b053512f5c1558e51 | |
parent | dde2153014cd7d7b8fa704f7067a41344bfbb1c2 (diff) |
Moved a couple of C++-specific warning flags from GCC_WARNINGS to GCC_CXX_WARNINGS. This fixes a couple of non-fatal warning messages about unknown flags on the mac.
-rw-r--r-- | indra/cmake/00-Common.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 2a70263446..c356feb13a 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -192,13 +192,13 @@ endif (DARWIN) if (LINUX OR DARWIN) - set(GCC_WARNINGS "-Wall -Wno-sign-compare -Wno-trigraphs -Wno-non-virtual-dtor -Woverloaded-virtual") + set(GCC_WARNINGS "-Wall -Wno-sign-compare -Wno-trigraphs") if (NOT GCC_DISABLE_FATAL_WARNINGS) set(GCC_WARNINGS "${GCC_WARNINGS} -Werror") endif (NOT GCC_DISABLE_FATAL_WARNINGS) - set(GCC_CXX_WARNINGS "${GCC_WARNINGS} -Wno-reorder") + set(GCC_CXX_WARNINGS "${GCC_WARNINGS} -Wno-reorder -Wno-non-virtual-dtor -Woverloaded-virtual") set(CMAKE_C_FLAGS "${GCC_WARNINGS} ${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "${GCC_CXX_WARNINGS} ${CMAKE_CXX_FLAGS}") |