mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[CMAKE]
Let cmake find mingw32-ar by itself on *nix, otherwise cmake errors out. See http://www.mail-archive.com/[email protected]/msg27491.html for details. svn path=/trunk/; revision=53488
This commit is contained in:
@@ -35,7 +35,6 @@ set(CMAKE_RC_COMPILER ${MINGW_PREFIX}windres)
|
||||
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})
|
||||
|
||||
Reference in New Issue
Block a user