[Orxonox-commit 188] r2863 - branches/gui/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Mar 30 00:26:52 CEST 2009
Author: rgrieder
Date: 2009-03-29 22:26:52 +0000 (Sun, 29 Mar 2009)
New Revision: 2863
Modified:
branches/gui/cmake/BuildConfigGCC.cmake
Log:
-Wno-deprecated is only available for C++, but fortunately the compiler flag macros can already handle that. Fixed.
Modified: branches/gui/cmake/BuildConfigGCC.cmake
===================================================================
--- branches/gui/cmake/BuildConfigGCC.cmake 2009-03-29 22:14:36 UTC (rev 2862)
+++ branches/gui/cmake/BuildConfigGCC.cmake 2009-03-29 22:26:52 UTC (rev 2863)
@@ -64,7 +64,7 @@
# For newer GCC (4.3 and above), don't display hundreds of annoying deprecated
# messages. Other versions don't seem to show any such warnings at all.
-ADD_COMPILER_FLAGS("-Wno-deprecated")
+ADD_COMPILER_FLAGS("-Wno-deprecated" CXX)
# Increase warning level if requested
IF(EXTRA_COMPILER_WARNINGS)
More information about the Orxonox-commit
mailing list