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=53…
==============================================================================
--- 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})