[Orxonox-commit 2711] r7416 - in code/trunk/cmake: . tools

rgrieder at orxonox.net rgrieder at orxonox.net
Sat Sep 11 20:27:21 CEST 2010


Author: rgrieder
Date: 2010-09-11 20:27:21 +0200 (Sat, 11 Sep 2010)
New Revision: 7416

Modified:
   code/trunk/cmake/CompilerConfigGCC.cmake
   code/trunk/cmake/tools/TargetUtilities.cmake
Log:
Never insert even the tiniest thing that is for sure certain without testing...
Also fixed two typos.

Modified: code/trunk/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigGCC.cmake	2010-09-11 18:20:30 UTC (rev 7415)
+++ code/trunk/cmake/CompilerConfigGCC.cmake	2010-09-11 18:27:21 UTC (rev 7416)
@@ -75,10 +75,10 @@
   ADD_COMPILER_FLAGS("-fPIC" CACHE)
 ENDIF()
 
-# We have some uncoformant code, disable an optimisation feature
+# We have some unconformant code, disable an optimisation feature
 ADD_COMPILER_FLAGS("-fno-strict-aliasing" CACHE)
 
-# For GCC older than version 4, do not display sign compare warings
+# For GCC older than version 4, do not display sign compare warnings
 # because of boost::filesystem (which creates about a hundred per include)
 ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE)
 

Modified: code/trunk/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/trunk/cmake/tools/TargetUtilities.cmake	2010-09-11 18:20:30 UTC (rev 7415)
+++ code/trunk/cmake/tools/TargetUtilities.cmake	2010-09-11 18:27:21 UTC (rev 7416)
@@ -149,7 +149,7 @@
       LIST(APPEND _${_target_name}_files ${ORXONOX_CONFIG_FILES})
       SOURCE_GROUP("Config" FILES ${ORXONOX_CONFIG_FILES})
     ENDIF()
-  ENDIF(NOT _arg_NO_SOURCE_GROUPS)
+  ENDIF()
 
   # Set link mode (SHARED/STATIC)
   IF(MSVC AND _arg_NO_DLL_INTERFACE)




More information about the Orxonox-commit mailing list