summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/cmake/00-Common.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index c939afc863..610aa99dc9 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -114,7 +114,8 @@ if (LINUX)
# widespread of them.
if (${CXX_VERSION} MATCHES "4.3")
- add_definitions(-Wno-deprecated -Wno-parentheses)
+ add_definitions(-Wno-parentheses)
+ set(CMAKE_CXX_FLAGS "-Wno-deprecated ${CMAKE_CXX_FLAGS}")
endif (${CXX_VERSION} MATCHES "4.3")
# End of hacks.