From 78f95ee9d48f9a2a27e966d74c00e85b9c55ee76 Mon Sep 17 00:00:00 2001 From: Bryan O'Sullivan Date: Wed, 25 Feb 2009 00:56:40 +0000 Subject: Fix build of buffer_file with g++ 4.3 --- indra/cmake/00-Common.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') 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. -- cgit v1.2.3