[Orxonox-commit 2724] r7429 - code/trunk/cmake

landauf at orxonox.net landauf at orxonox.net
Sun Sep 12 16:27:56 CEST 2010


Author: landauf
Date: 2010-09-12 16:27:55 +0200 (Sun, 12 Sep 2010)
New Revision: 7429

Modified:
   code/trunk/cmake/CompilerConfigGCC.cmake
Log:
less "spam" from the linker when using MinGW

Modified: code/trunk/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigGCC.cmake	2010-09-12 13:35:32 UTC (rev 7428)
+++ code/trunk/cmake/CompilerConfigGCC.cmake	2010-09-12 14:27:55 UTC (rev 7429)
@@ -99,3 +99,8 @@
 
 # General linker flags
 SET_LINKER_FLAGS("--no-undefined" CACHE)
+
+# Add linker flags for MinGW
+IF (MINGW)
+  ADD_LINKER_FLAGS("-enable-auto-import" CACHE)
+ENDIF()
\ No newline at end of file




More information about the Orxonox-commit mailing list