summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorKyle McKay <scot@lindenlab.com>2008-07-10 02:16:54 +0000
committerKyle McKay <scot@lindenlab.com>2008-07-10 02:16:54 +0000
commitc8eae77636ec874f4117ae09288e0872269f5976 (patch)
treed06c3b3f78f0346f3f8f8270c115f74f4204a374 /indra/cmake
parent6626767245e90196711961c3d899001185590168 (diff)
Check the actual version of the compiler we're going to use to compile the sources to determine which options need to be added rather than the version of some other compiler on the system.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake4
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.