[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 29 Aug 2011 13:43:15 +0000 (13:43 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 29 Aug 2011 13:43:15 +0000 (13:43 +0000)
* Fix the ar variable. Missed in r53488.

svn path=/trunk/; revision=53489

reactos/toolchain-gcc.cmake

index 9aa6ce6..13f682b 100644 (file)
@@ -35,7 +35,7 @@ set(CMAKE_RC_COMPILER ${MINGW_PREFIX}windres)
 set(CMAKE_ASM_COMPILER ${MINGW_PREFIX}gcc)
 
 if(NOT CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
-    set(CMAKE_C_CREATE_STATIC_LIBRARY "${CMAKE_AR} crs <TARGET> <LINK_FLAGS> <OBJECTS>")
+    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})
 endif()