diff options
Diffstat (limited to 'indra/cmake')
-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 6ffc054de2..d404150bfd 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -105,9 +105,9 @@ if (LINUX) # treat as errors due to -Werror. Quiet the most offensive and # widespread of them. - if (${GXX_VERSION} MATCHES "4.3") + if (${CXX_VERSION} MATCHES "4.3") add_definitions(-Wno-deprecated -Wno-parentheses) - endif (${GXX_VERSION} MATCHES "4.3") + endif (${CXX_VERSION} MATCHES "4.3") # End of hacks. |