[Orxonox-commit 402] r2988 - trunk/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon May 18 22:05:13 CEST 2009


Author: rgrieder
Date: 2009-05-18 22:05:13 +0200 (Mon, 18 May 2009)
New Revision: 2988

Modified:
   trunk/cmake/BuildConfigGCC.cmake
Log:
Small build system fix.

Modified: trunk/cmake/BuildConfigGCC.cmake
===================================================================
--- trunk/cmake/BuildConfigGCC.cmake	2009-05-18 17:26:11 UTC (rev 2987)
+++ trunk/cmake/BuildConfigGCC.cmake	2009-05-18 20:05:13 UTC (rev 2988)
@@ -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" CXX)
+ADD_COMPILER_FLAGS("-Wno-deprecated" CXX CACHE)
 
 # Increase warning level if requested
 IF(EXTRA_COMPILER_WARNINGS)




More information about the Orxonox-commit mailing list