[Orxonox-commit 2820] r7523 - code/branches/ois_update/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Oct 11 12:59:00 CEST 2010


Author: rgrieder
Date: 2010-10-11 12:58:59 +0200 (Mon, 11 Oct 2010)
New Revision: 7523

Modified:
   code/branches/ois_update/cmake/CompilerConfigGCC.cmake
Log:
Activated SSE on Linux and disabled Visibility again because of linker errors

Modified: code/branches/ois_update/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/branches/ois_update/cmake/CompilerConfigGCC.cmake	2010-10-11 10:36:19 UTC (rev 7522)
+++ code/branches/ois_update/cmake/CompilerConfigGCC.cmake	2010-10-11 10:58:59 UTC (rev 7523)
@@ -70,12 +70,12 @@
 ENDIF()
 
 # Use SSE if possible
-#CHECK_CXX_COMPILER_FLAG(-msse _gcc_have_sse)
-#IF(_gcc_have_sse)
-#  ADD_COMPILER_FLAGS("-msse" CACHE)
-#ENDIF()
+CHECK_CXX_COMPILER_FLAG(-msse _gcc_have_sse)
+IF(_gcc_have_sse)
+  ADD_COMPILER_FLAGS("-msse" CACHE)
+ENDIF()
 
-IF(NOT MINGW)
+IF(FALSE AND NOT MINGW)
   # Have GCC visibility?
   CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" _gcc_have_visibility)
   IF(_gcc_have_visibility)
@@ -85,7 +85,7 @@
       ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden" CACHE)
     ENDIF()
   ENDIF(_gcc_have_visibility)
-ENDIF(NOT MINGW)
+ENDIF(FALSE AND NOT MINGW)
 
 # We have some unconformant code, disable an optimisation feature
 ADD_COMPILER_FLAGS("-fno-strict-aliasing" CACHE)




More information about the Orxonox-commit mailing list