diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-03-12 10:48:05 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-03-12 10:48:05 -0700 |
commit | e8b8a12b7365c17cf0326be365b78bcb1da1bfac (patch) | |
tree | dbf0546c4b63ba9ab2786f2917a28f9d6522eb1a /indra/cmake/00-Common.cmake | |
parent | e08de2f60989658315784f6cc605373e464102a5 (diff) |
Mods to make compile on gcc 4.6.3 work mo betta
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r-- | indra/cmake/00-Common.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 6bfd8c14d6..aa1d50b993 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -135,6 +135,10 @@ if (LINUX) set(CMAKE_CXX_FLAGS "-Wno-deprecated -Wno-uninitialized -Wno-unused-variable -Wno-unused-function ${CMAKE_CXX_FLAGS}") endif (${CXX_VERSION_NUMBER} LESS 420) + if(${CXX_VERSION_NUMBER} GREATER 459) + set(CMAKE_CXX_FLAGS "-Wno-deprecated -Wno-unused-but-set-variable -Wno-unused-variable ${CMAKE_CXX_FLAGS}") + endif (${CXX_VERSION_NUMBER} GREATER 459) + # gcc 4.3 and above don't like the LL boost and also # cause warnings due to our use of deprecated headers if(${CXX_VERSION_NUMBER} GREATER 429) |