[ros-diffs] [spetreolle] 53488: [CMAKE] Let cmake find mingw32-ar by itself on *nix, otherwise cmake errors out. See http://www.mail-archive.com/cmake at cmake.org/msg27491.html for details.

spetreolle at svn.reactos.org spetreolle at svn.reactos.org
Mon Aug 29 13:15:14 UTC 2011


Author: spetreolle
Date: Mon Aug 29 13:15:14 2011
New Revision: 53488

URL: http://svn.reactos.org/svn/reactos?rev=53488&view=rev
Log:
[CMAKE]
Let cmake find mingw32-ar by itself on *nix, otherwise cmake errors out.
See http://www.mail-archive.com/cmake@cmake.org/msg27491.html for details.


Modified:
    trunk/reactos/toolchain-gcc.cmake

Modified: trunk/reactos/toolchain-gcc.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-gcc.cmake?rev=53488&r1=53487&r2=53488&view=diff
==============================================================================
--- trunk/reactos/toolchain-gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/toolchain-gcc.cmake [iso-8859-1] Mon Aug 29 13:15:14 2011
@@ -35,7 +35,6 @@
 set(CMAKE_ASM_COMPILER ${MINGW_PREFIX}gcc)
 
 if(NOT CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
-    set(CMAKE_AR ${MINGW_PREFIX}ar)
     set(CMAKE_C_CREATE_STATIC_LIBRARY "${CMAKE_AR} crs <TARGET> <LINK_FLAGS> <OBJECTS>")
     set(CMAKE_CXX_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})
     set(CMAKE_ASM_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})




More information about the Ros-diffs mailing list